Procurement APIs
Saves/stores details about a supplier
HTTP method | PUT |
URI | https://api.rambase.net/procurement/suppliers/{supplierId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {supplierId} |
RamBase supplier identifier
Integer, minimum 100 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 3627, version 24 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
Supplier
This field is optional.
>Name
Name of supplier (name of company or surname/familyname/lastname of a person)
This field is optional.
>{String}</Name>FirstName
Firstname/givenname if the supplier is a person
This field is optional.
>{String}</FirstName>PreferredLanguage
Preferred language for the supplier. Is used in prints, emails etc.
Applicable domain values can be found here
Input must match the following regular expression pattern: ^[a-z]{3}$
This field is optional.
>{String}</PreferredLanguage>Phone
Main phone number of the supplier
This field is optional.
>{String}</Phone>Fax
Main fax number of the supplier
This field is optional.
>{String}</Fax>Main email address to the supplier
Input must match the following regular expression pattern: ^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
This field is optional.
>{String}</Email>ExternalReference
External supplier reference/identifier. Can be used in external systems
This field is optional.
>{String}</ExternalReference>InternalNote
Internal note/notice of the supplier. Should not be visible to the supplier.
This field is optional.
>{String}</InternalNote>IsRelatedBusinessEntity
Identify if a supplier is related business entity to the company
This field is optional.
>{Boolean}</IsRelatedBusinessEntity>IsUsingCashMethodSettlement
Identify if a supplier is using cash method for settlements
This field is optional.
>{Boolean}</IsUsingCashMethodSettlement>LegalEntityIdentifier
The suppliers unique enterprise/organization number.
This field is optional.
>{String}</LegalEntityIdentifier>VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).
This field is optional.
>{String}</VATRegistrationNumber>EORINumber
An EORI (Economic Operator Registration and Identification number) number is required of any party intending to import into the EU or export from the EU.
This field is optional.
>{String}</EORINumber>Website
Suppliers website/homepage/webpage
This field is optional.
>{String}</Website>Classification
Classification of the supplier
Applicable domain values can be found here
This field is optional.
>{String}</Classification>Intercompany
This field is optional.
>Code
Intercompany database the supplier belongs to.
This field is optional.
>{String}</Code>Currencies
Currencies used by the supplier
This field is optional.
>Currency
This field is optional.
>CurrencyCode
Three character code following the ISO 4217 standard
Applicable domain values can be found here
This field is optional.
>{String}</CurrencyCode>Procurement
This field is optional.
>VATHandling
Specifies how value added tax (VAT) should be calculated. Either always include VAT, always exclude VAT or use standard/default VAT rules.
Applicable domain values can be found here
This field is optional.
>{String}</VATHandling>ConfirmedDeliveryDateBuffer
If the confirmed delivery date is unreliable, you can specify a buffer in days to be added.
This buffer will be used when the requested delivery date for purchase orders is calculated.
This buffer will also be added to the confirmed delivery date when creating purchase order responses.
Minimum value: 0
This field is optional.
>{Integer}</ConfirmedDeliveryDateBuffer>Shipment
This field is optional.
>DeliveryTerms
Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).
Applicable domain values can be found here
This field is optional.
>{String}</DeliveryTerms>DeliveryTermPlace
A named place, which, together with the content of Delivery terms, determines where and when the costs, responsibility and risk for a shipment are transferred from the seller to the buye
This field is optional.
>{String}</DeliveryTermPlace>ArrivingShippingService
Shipping service used for arriving shipments (from this supplier)
This field is optional.
>ShippingServiceId
Shipping service identifier
Minimum value: 100000
This field is optional.
>{Integer}</ShippingServiceId>DepartingShippingService
Shipping services used for departing shipments (to this supplier)
This field is optional.
>ShippingServiceId
Shipping service identifier
Minimum value: 100000
This field is optional.
>{Integer}</ShippingServiceId>SpecialHandling
Special handling for departing shipments (to this supplier)
This field is optional.
>SpecialHandlingId
Special handling identifier
Minimum value: 100000
This field is optional.
>{Integer}</SpecialHandlingId>Invoicing
This field is optional.
>StopAutomaticForwardOfImportedInvoices
True if automatic forwarding of ISI-documents to SIN (Supplier invoice) should be blocked
This field is optional.
>{Boolean}</StopAutomaticForwardOfImportedInvoices>Payment
This field is optional.
>PaymentTerms
Default payment terms to use in new documents.
Applicable domain values can be found here
This field is optional.
>{String}</PaymentTerms>PaymentMethod
Default payment method for the supplier
Applicable domain values can be found here
This field is optional.
>{String}</PaymentMethod>BlockPayments
Blocked payment of supplier
This field is optional.
>{Boolean}</BlockPayments>Accounting
This field is optional.
>GeneralLedgerAccount
This field is optional.
>GeneralLedgerAccountId
General ledger account identifier
This field is optional.
>{Integer}</GeneralLedgerAccountId>Auction
This field is optional.
>MaximumLotRuns
Max runs for supplier auctions
This field is optional.
>{Integer}</MaximumLotRuns>AddLotFee
Boolean value, for if supplier fee amount is going to be added
This field is optional.
>{Boolean}</AddLotFee>Supplier
This field is optional.
": {Name
Name of supplier (name of company or surname/familyname/lastname of a person)
This field is optional.
": "{String}",FirstName
Firstname/givenname if the supplier is a person
This field is optional.
": "{String}",PreferredLanguage
Preferred language for the supplier. Is used in prints, emails etc.
Applicable domain values can be found here
Input must match the following regular expression pattern: ^[a-z]{3}$
This field is optional.
": "{String}",Phone
Main phone number of the supplier
This field is optional.
": "{String}",Fax
Main fax number of the supplier
This field is optional.
": "{String}",Main email address to the supplier
Input must match the following regular expression pattern: ^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
This field is optional.
": "{String}",ExternalReference
External supplier reference/identifier. Can be used in external systems
This field is optional.
": "{String}",InternalNote
Internal note/notice of the supplier. Should not be visible to the supplier.
This field is optional.
": "{String}",IsRelatedBusinessEntity
Identify if a supplier is related business entity to the company
This field is optional.
": "{Boolean}",IsUsingCashMethodSettlement
Identify if a supplier is using cash method for settlements
This field is optional.
": "{Boolean}",LegalEntityIdentifier
The suppliers unique enterprise/organization number.
This field is optional.
": "{String}",VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).
This field is optional.
": "{String}",EORINumber
An EORI (Economic Operator Registration and Identification number) number is required of any party intending to import into the EU or export from the EU.
This field is optional.
": "{String}",Website
Suppliers website/homepage/webpage
This field is optional.
": "{String}",Classification
Classification of the supplier
Applicable domain values can be found here
This field is optional.
": "{String}",Intercompany
This field is optional.
": {Code
Intercompany database the supplier belongs to.
This field is optional.
": "{String}"Currencies
Currencies used by the supplier
This field is optional.
": [CurrencyCode
Three character code following the ISO 4217 standard
Applicable domain values can be found here
This field is optional.
": "{String}"Procurement
This field is optional.
": {VATHandling
Specifies how value added tax (VAT) should be calculated. Either always include VAT, always exclude VAT or use standard/default VAT rules.
Applicable domain values can be found here
This field is optional.
": "{String}",ConfirmedDeliveryDateBuffer
If the confirmed delivery date is unreliable, you can specify a buffer in days to be added.
This buffer will be used when the requested delivery date for purchase orders is calculated.
This buffer will also be added to the confirmed delivery date when creating purchase order responses.
Minimum value: 0
This field is optional.
": "{Integer}"Shipment
This field is optional.
": {DeliveryTerms
Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).
Applicable domain values can be found here
This field is optional.
": "{String}",DeliveryTermPlace
A named place, which, together with the content of Delivery terms, determines where and when the costs, responsibility and risk for a shipment are transferred from the seller to the buye
This field is optional.
": "{String}",ArrivingShippingService
Shipping service used for arriving shipments (from this supplier)
This field is optional.
": {ShippingServiceId
Shipping service identifier
Minimum value: 100000
This field is optional.
": "{Integer}"DepartingShippingService
Shipping services used for departing shipments (to this supplier)
This field is optional.
": {ShippingServiceId
Shipping service identifier
Minimum value: 100000
This field is optional.
": "{Integer}"SpecialHandling
Special handling for departing shipments (to this supplier)
This field is optional.
": {SpecialHandlingId
Special handling identifier
Minimum value: 100000
This field is optional.
": "{Integer}"Invoicing
This field is optional.
": {StopAutomaticForwardOfImportedInvoices
True if automatic forwarding of ISI-documents to SIN (Supplier invoice) should be blocked
This field is optional.
": "{Boolean}"Payment
This field is optional.
": {PaymentTerms
Default payment terms to use in new documents.
Applicable domain values can be found here
This field is optional.
": "{String}",PaymentMethod
Default payment method for the supplier
Applicable domain values can be found here
This field is optional.
": "{String}",BlockPayments
Blocked payment of supplier
This field is optional.
": "{Boolean}"Accounting
This field is optional.
": {GeneralLedgerAccount
This field is optional.
": {GeneralLedgerAccountId
General ledger account identifier
This field is optional.
": "{Integer}"Auction
This field is optional.
": {MaximumLotRuns
Max runs for supplier auctions
This field is optional.
": "{Integer}",AddLotFee
Boolean value, for if supplier fee amount is going to be added
This field is optional.
": "{Boolean}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showCustomFields Boolean, optional | Set to "true" to include custom fields. Default value is false. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 105170 HTTP 404 | Job Sequence Extension not found |
Error 105991 HTTP 400 | Event is not of the same type as event set on the automated flow |
Error 100012 HTTP 400 | {0} must exist in {1} |
Error 101399 HTTP 400 | Customer account in shipping service mismatch with this customer account |
Error 101385 HTTP 400 | The carrier that offers this shipping service is not activ (status 4) |
Error 100942 HTTP 400 | External reference should be unique |
Error 100944 HTTP 400 | Mismatch between post code and city |