Jasmin Developers - Web API Reference

Sales | Order

Service to manage entities of type 'Order'.

Overview


URL api/{tenantKey}/{orgKey}/sales/orders
Methods Supported GET, POST, PUT, DELETE

All Operations

This service includes the following operations:

All Resources

This service uses the following resources:

All Enumerations

This service uses the following enumerations:

GET Operations

GET Orders (odata)

Returns a page of the list of all the entity records available.

The following elements are optional:

opts (ODataQueryOptions) OData query option.

Response:

When successful, the response body contains the list of records available. See OrderResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/odata

GET Order by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See OrderResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /sales/orders/{id}

GET Order by key

Returns the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.

Response:

When successful, the response body contains the entity record. See OrderResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}

GET Print Order by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified record does not exist.

Resource URL:

GET /sales/orders/{id}/print?template={template}

GET Print Order by identifier (asynchronously)

Prints the specified entity record asynchronously.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response Location header contains an URL to download the printed file.

Response status codes:

202 Accepted. The operation was accepted. The response Location header contains the address to obtain the printed file when it's ready.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/{id}/printAsync?template={template}

GET Print Order by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/print

GET Print Order by key (asynchronously)

Prints the specified entity record asynchronously.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response Location header contains an URL to download the printed file.

Response status codes:

202 Accepted. The operation was accepted. The response Location header contains the address to obtain the printed file when it's ready.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/printAsync

GET Original Print Order by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified record does not exist.

Resource URL:

GET /sales/orders/{id}/printOriginal?template={template}

GET Original Print Order by identifier (asynchronously)

Prints the specified entity record asynchronously.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response Location header contains an URL to download the printed file.

Response status codes:

202 Accepted. The operation was accepted. The response Location header contains the address to obtain the printed file when it's ready.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/{id}/printOriginalAsync?template={template}

GET Original Print Order by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/printOriginal

GET Original Print Order by key (asynchronously)

Prints the specified entity record asynchronously.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response Location header contains an URL to download the printed file.

Response status codes:

202 Accepted. The operation was accepted. The response Location header contains the address to obtain the printed file when it's ready.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/printOriginalAsync

GET Get Pending Sales Orders

Custom operation 'GetPendingSalesOrders'.

Response:

When successful, the response body contains a list of resources of type 'StandardOrderResource'. See StandardOrderResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/getPendingSalesOrders

GET Get Orders From Online Store

Custom operation 'GetOrdersFromOnlineStore'.

The following elements are required:

salesChannelKey (string) SalesChannelKey.
companyKey (string) CompanyKey.
buyerCustomerPartyKey (string) BuyerCustomerPartyKey.

Response:

When successful, the response body contains a list of resources of type 'OrderResource'. See OrderResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /sales/orders/getOrdersFromOnlineStore

POST Operations

POST Orders

Creates a new entity record.

The following elements are required:

orderResource (ApiOrderResource) The request body should contain the entity record that should be created.
See ApiOrderResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiOrderResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /sales/orders

POST Order Line

Inserts a new 'Order Line' in the 'Order'.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (ApiOrderDocumentLinesResource) The ApiOrderDocumentLinesResource instance.
See ApiOrderDocumentLinesResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines

POST Communicate To Tax Authority

Custom operation 'CommunicateToTaxAuthority'.

The following elements are required:

orderId (Guid) OrderId.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains a string.

Resource URL:

POST /sales/orders/communicateToTaxAuthority/{orderId}

PUT Operations

PUT Set AccountingAltAddress Order

Updates the value of attribute 'AccountingAltAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingAltAddress

PUT Set AccountingPartyAddress Order

Updates the value of attribute 'AccountingPartyAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingPartyAddress

PUT Set AltAddress Order

Updates the value of attribute 'AltAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/altAddress

PUT Set BuyerCustomerPartyAddress Order

Updates the value of attribute 'BuyerCustomerPartyAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/buyerCustomerPartyAddress

PUT Set CommitmentReference OrderLine

Updates the value of attribute 'CommitmentReference' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/commitmentReference

PUT Set Company Order

Updates the value of attribute 'Company' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/company

PUT Set ComplementaryDescription OrderLine

Updates the value of attribute 'ComplementaryDescription' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/complementaryDescription

PUT Set DeliveryDate OrderLine

Updates the value of attribute 'DeliveryDate' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/deliveryDate

PUT Set DeliveryOnInvoice Order

Updates the value of attribute 'DeliveryOnInvoice' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/deliveryOnInvoice

PUT Set DeliveryTerm Order

Updates the value of attribute 'DeliveryTerm' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/deliveryTerm

PUT Set Description OrderLine

Updates the value of attribute 'Description' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/description

PUT Set Discount Order

Updates the value of attribute 'Discount' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/discount

PUT Set Discount1 OrderLine

Updates the value of attribute 'Discount1' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/discount1

PUT Set Discount2 OrderLine

Updates the value of attribute 'Discount2' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/discount2

PUT Set Discount3 OrderLine

Updates the value of attribute 'Discount3' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/discount3

PUT Set DocumentLineStatus OrderLine

Updates the value of attribute 'DocumentLineStatus' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (enum DocumentLineStatus) The request body should contain the new value for the attribute.
See DocumentLineStatus.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/documentLineStatus

PUT Set DocumentType Order

Updates the value of attribute 'DocumentType' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentType

PUT Set EmailTo Order

Updates the value of attribute 'EmailTo' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/emailTo

PUT Set IsActive Order

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/isActive

PUT Set IsOneTimeCustomer Order

Updates the value of attribute 'IsOneTimeCustomer' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/isOneTimeCustomer

PUT Set IsSeriesCommunicated Order

Updates the value of attribute 'IsSeriesCommunicated' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/isSeriesCommunicated

PUT Set ItemTaxSchema OrderLine

Updates the value of attribute 'ItemTaxSchema' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/itemTaxSchema

PUT Set LoadingBuildingNumber Order

Updates the value of attribute 'LoadingBuildingNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingBuildingNumber

PUT Set LoadingCityName Order

Updates the value of attribute 'LoadingCityName' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingCityName

PUT Set LoadingCountry Order

Updates the value of attribute 'LoadingCountry' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingCountry

PUT Set LoadingPoint Order

Updates the value of attribute 'LoadingPoint' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingPoint

PUT Set LoadingPointAddress Order

Updates the value of attribute 'LoadingPointAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingPointAddress

PUT Set LoadingPostalZone Order

Updates the value of attribute 'LoadingPostalZone' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingPostalZone

PUT Set LoadingStreetName Order

Updates the value of attribute 'LoadingStreetName' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingStreetName

PUT Set Note Order

Updates the value of attribute 'Note' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/note

PUT Set NoteToRecipient Order

Updates the value of attribute 'NoteToRecipient' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/noteToRecipient

PUT Set Notification Order

Updates the value of attribute 'Notification' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/notification

PUT Set PaymentMethod Order

Updates the value of attribute 'PaymentMethod' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/paymentMethod

PUT Set PaymentTerm Order

Updates the value of attribute 'PaymentTerm' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/paymentTerm

PUT Set PickingTime Order

Updates the value of attribute 'PickingTime' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (TimeSpan) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/pickingTime

PUT Set PickupStore Order

Updates the value of attribute 'PickupStore' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/pickupStore

PUT Set Quantity OrderLine

Updates the value of attribute 'Quantity' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/quantity

PUT Set Remarks Order

Updates the value of attribute 'Remarks' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/remarks

PUT Set SalesChannel Order

Updates the value of attribute 'SalesChannel' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/salesChannel

PUT Set SalesItem OrderLine

Updates the value of attribute 'SalesItem' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/salesItem

PUT Set Salesperson Order

Updates the value of attribute 'Salesperson' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/salesperson

PUT Set SeriesNumber Order

Updates the value of attribute 'SeriesNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/seriesNumber

PUT Set Store Order

Updates the value of attribute 'Store' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/store

PUT Set Unit OrderLine

Updates the value of attribute 'Unit' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/unit

PUT Set UnitPrice OrderLine

Updates the value of attribute 'UnitPrice' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/unitPrice

PUT Set UnloadingBuildingNumber Order

Updates the value of attribute 'UnloadingBuildingNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingBuildingNumber

PUT Set UnloadingCityName Order

Updates the value of attribute 'UnloadingCityName' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingCityName

PUT Set UnloadingCountry Order

Updates the value of attribute 'UnloadingCountry' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingCountry

PUT Set UnloadingPoint Order

Updates the value of attribute 'UnloadingPoint' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingPoint

PUT Set UnloadingPointAddress Order

Updates the value of attribute 'UnloadingPointAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingPointAddress

PUT Set UnloadingPostalZone Order

Updates the value of attribute 'UnloadingPostalZone' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingPostalZone

PUT Set UnloadingStreetName Order

Updates the value of attribute 'UnloadingStreetName' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingStreetName

PUT Set VehiclePlateNumber Order

Updates the value of attribute 'VehiclePlateNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/vehiclePlateNumber

PUT Set Warehouse OrderLine

Updates the value of attribute 'Warehouse' in the specified entity record.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/warehouse

PUT Set Custom Attribute Order

Updates the value of 'CustomAttribute' in the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
customAttributeName (string) The custom attribute name.
value (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute.
See ExtensibilityCustomAttributeValueResource.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/{customAttributeName}

PUT Set Custom Attribute OrderLine

Updates the value of 'CustomAttribute' in the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
lineId (string) The detail identifier.
customAttributeName (string) The custom attribute name.
value (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute.
See ExtensibilityCustomAttributeValueResource.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/{customAttributeName}

DELETE Operations

DELETE Order Line by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
companyKey (string) The company key.
lineId (string) The line identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}

DELETE Order by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /sales/orders/{id}

DELETE Order by key

Deletes the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /sales/orders/{companyKey}/{documentType}/{serie}/{seriesNumber}

Resources


ApiOrderDocumentLinesResource

The following elements are required:

description (string) The order's line item description. The default is defined on the sales item.
quantity (decimal) The order's line item quantity. The default 1.
unitPrice (MoneyResource) The order's line item unit price. The default price is loaded from sales item prices when there is a match on the combination of price list, currency, tax included and unit.
See MoneyResource .
deliveryDate (DateTime) The expected delivery date.
unit (string) The order's line item sales unit. The default sales unit is defined on the sales item.
salesItem (string) The sales item representing the good or service to be ordered.
itemTaxSchema (string) The order's line item tax schema. The tax schema identifies the group of taxes a item is liable for. The default tax schema is defined on the sales item.
documentLineStatus (enum DocumentLineStatus) The document's line status. The default is Open.
See DocumentLineStatus.

The following elements are optional:

discount1 (decimal) The line item's discount 1 percentage. The default is 0.
discount2 (decimal) The line item's discount 2 percentage. The default is 0.
discount3 (decimal) The line item's discount 3 percentage. The default is 0.
complementaryDescription (string) The order's line item complementary description. The default is defined on the sales item.
warehouse (string) The order's line item warehouse. The default is defined on the materials item.
commitmentReference (string) Commitment Ref.


ApiOrderResource

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
documentDate (DateTime) The date when the document is issued.
postingDate (DateTime) The date when the document is created in the system.
buyerCustomerParty (string) The customer party that receives or consumes products (goods or services).
buyerCustomerPartyName (string) The customer's name. It is infered from the customer party.
buyerCustomerPartyAddress (string) The customer's address. It is infered from the customer party.
accountingParty (string) The customer designated in the order as the party to whom the order should be sent for payment. It may or may not be the party to whom the goods or services are delivered. The default is defined on the customer party.
exchangeRate (decimal) The price of one country's currency expressed in another country's currency. In other words, the rate at which one currency can be exchanged for another. The default is infered using the defined exchange rates on the system for the document date and currency.
discount (decimal) The discount's percentage. The default is defined on the customer party.
currency (string) The money's unit used by the system, such as Euros (EUR) or United States Dollars (USD). This value is important for currency exchanges or to set the number of decimal places used to represent values. The default is defined on the customer party.
paymentMethod (string) The financial transfer method used by the entity responsible for paying a transaction. For example, cash, transfer or check payments. The default is defined on the customer party.
paymentTerm (string) The term specifying the manner in which a trade will be done. Generally, these terms specify a period in which the buyer can pay the due amount. They can also demand some money to be paid in advance, paid in cash at delivery, a 30 day or longer period, or other similar arrangements for deferred payment. The default is defined on the customer party.
company (string) The company's code is the central organizational unit within the system.
deliveryOnInvoice (bool) Delivery On Invoice.
isSeriesCommunicated (bool) Is Series Communicated.
ignoreAssociatedSalesItems (bool) Ignore Associated Sales Items.

The following elements are optional:

taxIncluded (bool) Indicates whether the unit prices have taxes included or not. The value is infered from the order series.
note (string) The document's note.
accountingPartyName (string) The accounting's party name. It is infered from the accounting party.
accountingPartyTaxId (string) The accounting's tax code. Unique code assigned by a country's tax authority to establish an entity's fiscal identification and responsibilities. Infered from the accounting party.
accountingPartyAddress (string) The accounting's customer name. It is infered from the accounting party.
exchangeRateDate (DateTime) The exchange rate's creation date.
remarks (string) The order's remarks.
loadingPoint (string) The physical location where the goods are loaded. The default is the company physical location.
loadingPointAddress (string) The physical location address where the goods are loaded. The default is the company physical location address.
loadingStreetName (string) The street name of the physical location where the goods are loaded. The default is the company physical location.
loadingBuildingNumber (string) The building number of the physical location where the goods are loaded. The default is the company physical location.
loadingPostalZone (string) The postal zone of the physical location where the goods are loaded. The default is the company physical location.
loadingCityName (string) The city of the physical location where the goods are loaded. The default is the company physical location.
loadingCountry (string) The country of the physical location where the goods are loaded. The default is the company country.
unloadingPoint (string) The physical location where the goods are unloaded. Defines the unloading from the freight. The default is customer address.
unloadingPointAddress (string) The physical location address where the goods are unloaded. The default is customer address.
unloadingStreetName (string) The street name of the physical location where the goods are unloaded. The default is customer address street name.
unloadingBuildingNumber (string) The building number of the physical location where the goods are unloaded. The default is customer address building number.
unloadingPostalZone (string) The postal zone of the physical location where the goods are unloaded. The default is customer address postal zone.
unloadingCityName (string) The city name of the physical location where the goods are unloaded. The default is customer address city name.
unloadingCountry (string) Country.
pickingTime (TimeSpan) The goods loading date and time from the loading physical location. The default is the order creation date and time.
vehiclePlateNumber (string) The vehicle's plate used to trasnport the goods.
noteToRecipient (string) The note to the order recipient.
documentLines (List of ApiOrderDocumentLinesResource) The order's lines.
See ApiOrderDocumentLinesResource.
deliveryTerm (string) The conditions in a sales or transportation contract that specify the means of transportation. The default is defined on the customer party.
economicActivityClassification (string) The order's economic activity classification. A national legal standard that attributes a 5-digit value to identify a company's specific category of professional activity.
priceList (string) The catalogued table values ​​that sets the standard price for the products and goods traded by a specific entity. The default is inferred from the customer party if defined, otherwise from the sales setup.
salesperson (string) The sales person associated to the order. Sales representative or salesman (whether he is under direct control of a company or not) is authorized to procure business opportunities for a company. The default is defined on the customer party.
altAddress (string) The alternative customer's address key to be used on the order. The alternative addresses keys are defined on the customer party addresses. When defined overrides the customer party address and unloading address values.
salesChannel (string) The order's sales channel origin. The default value is defined in the sales setup configuration settings.
isOneTimeCustomer (bool) Defines if the customer party is a marked as an one time customer. Internally determined.
accountingAltAddress (string) The alternative address for the accounting.
notification (string) The order's notification configuration. Inferred from the order type.
emailTo (string) The email(s) to send order notification. Inferred from the notification.
store (string) The order's sales channel origin. The default value is defined in the documenttype series.
pickupStore (string) Pickup Store.


MoneyResource

The following elements are required:

amount (decimal) The amount.

The following elements are optional:

baseAmount (decimal) The base amount.
reportingAmount (decimal) The reporting amount.
fractionDigits (int) The fraction digits.
symbol (string) The symbol.

Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.



OrderLineResource

The following elements are required:

description (string) The order's line item description. The default is defined on the sales item.
quantity (decimal) The order's line item quantity. The default 1.
deliveredQuantity (decimal) The source delivery quantity when the order is transformed from a transport document. Internally determined.
invoicedQuantity (decimal) Invoiced quantity when the order is transformed to an invoice document. Internally determined.
unitPrice (MoneyResource) The order's line item unit price. The default price is loaded from sales item prices when there is a match on the combination of price list, currency, tax included and unit.
See MoneyResource .
deliveryDate (DateTime) The expected delivery date.
taxTotal (MoneyResource) The total's amount of taxes for this line. Internally calculated.
See MoneyResource .
allowanceChargeAmount (MoneyResource) The order's line total discount. Internally calculated.
See MoneyResource .
taxExclusiveAmount (MoneyResource) The order's line net value. The line value after discounts, excluding taxes. Internally calculated.
See MoneyResource .
grossValue (MoneyResource) The order's line value before taxes or discounts. Internally calculated.
See MoneyResource .
lineExtensionAmount (MoneyResource) The order's line payable amount. The line value including taxes and discounts. Internally calculated.
See MoneyResource .
currency (string) The money's unit. Inferred from the order currency.
unit (string) The order's line item sales unit. The default sales unit is defined on the sales item.
salesItem (string) The sales item representing the good or service to be ordered.
itemTaxSchema (string) The order's line item tax schema. The tax schema identifies the group of taxes a item is liable for. The default tax schema is defined on the sales item.
partyTaxSchema (string) The order's customer party tax schema. The tax schema identifies the group of taxes a party is liable for. The tax schema is defined in the customer party.
documentLineStatus (enum DocumentLineStatus) The document's line status. The default is Open.
See DocumentLineStatus.
itemType (enum ItemType) The order's line item type. Inferred from the sales item type. Internally determined.
See ItemType.

The following elements are optional:

discount1 (decimal) The line item's discount 1 percentage. The default is 0.
discount2 (decimal) The line item's discount 2 percentage. The default is 0.
discount3 (decimal) The line item's discount 3 percentage. The default is 0.
sourceDoc (string) The source document using the format {..} when the order is transformed from another document. Internally determined.
sourceDocId (Guid) The source document identifier when the order is transformed from other source document. Internally determined.
sourceSchemaEntity (string) The schema entity from originating document, possible values: Orders, Deliveries, GoodsReturns.
sourceDocLine (int) The source document's line number, when the order was transformed. Internally determined.
sourceDocLineId (Guid) The source document's line identifier, when the order was transformed. Internally determined.
complementaryDescription (string) The order's line item complementary description. The default is defined on the sales item.
warehouse (string) The order's line item warehouse. The default is defined on the materials item.
printAllDiscounts (string) Discount.
commitmentReference (string) Commitment Ref.
associatedOrderLineId (Guid) Associated Order Line Id.


OrderResource

The following elements are required:

documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
documentDate (DateTime) The date when the document is issued.
postingDate (DateTime) The date when the document is created in the system.
buyerCustomerParty (string) The customer party that receives or consumes products (goods or services).
buyerCustomerPartyName (string) The customer's name. It is infered from the customer party.
buyerCustomerPartyAddress (string) The customer's address. It is infered from the customer party.
accountingParty (string) The customer designated in the order as the party to whom the order should be sent for payment. It may or may not be the party to whom the goods or services are delivered. The default is defined on the customer party.
exchangeRate (decimal) The price of one country's currency expressed in another country's currency. In other words, the rate at which one currency can be exchanged for another. The default is infered using the defined exchange rates on the system for the document date and currency.
discount (decimal) The discount's percentage. The default is defined on the customer party.
grossValue (MoneyResource) The total value of goods and services before taxes or discounts. Internally calculated.
See MoneyResource .
allowanceChargeAmount (MoneyResource) The total's discount over goods and services. Internally calculated.
See MoneyResource .
taxExclusiveAmount (MoneyResource) The order's total net value. Total value of goods and services after discounts, excluding taxes. Internally calculated.
See MoneyResource .
taxTotal (MoneyResource) The total tax value of goods and services. Internally calculated.
See MoneyResource .
payableAmount (MoneyResource) The order's payable amount. Total value of goods and services including taxes and discounts. Internally calculated.
See MoneyResource .
currency (string) The money's unit used by the system, such as Euros (EUR) or United States Dollars (USD). This value is important for currency exchanges or to set the number of decimal places used to represent values. The default is defined on the customer party.
paymentMethod (string) The financial transfer method used by the entity responsible for paying a transaction. For example, cash, transfer or check payments. The default is defined on the customer party.
paymentTerm (string) The term specifying the manner in which a trade will be done. Generally, these terms specify a period in which the buyer can pay the due amount. They can also demand some money to be paid in advance, paid in cash at delivery, a 30 day or longer period, or other similar arrangements for deferred payment. The default is defined on the customer party.
company (string) The company's code is the central organizational unit within the system.
documentStatus (enum DocumentStatus) The document's status. Internally determined.
See DocumentStatus.
autoCreated (bool) Indicates whether the document was created internally by the system.
orderNature (enum OrderNature) The order nature: standard or return. Inferred from the order type.
See OrderNature.
deliveryOnInvoice (bool) Delivery On Invoice.
discountInValueAmount (MoneyResource) Discount In Value.
See MoneyResource .
isSeriesCommunicated (bool) Is Series Communicated.
isWsCommunicable (bool) Indicates if the order is communicated via web service to fiscal authority. Inferred from the order type serie.
isCommunicated (bool) Is Communicated.
ignoreAssociatedSalesItems (bool) Ignore Associated Sales Items.

The following elements are optional:

taxIncluded (bool) Indicates whether the unit prices have taxes included or not. The value is infered from the order series.
note (string) The document's note.
buyerCustomerPartyTaxId (string) The customer's tax code. Unique code assigned by a country's tax authority to establish an entity's fiscal identification and responsibilities. Infered from the customer party.
accountingPartyName (string) The accounting's party name. It is infered from the accounting party.
accountingPartyTaxId (string) The accounting's tax code. Unique code assigned by a country's tax authority to establish an entity's fiscal identification and responsibilities. Infered from the accounting party.
accountingPartyAddress (string) The accounting's customer name. It is infered from the accounting party.
exchangeRateDate (DateTime) The exchange rate's creation date.
remarks (string) The order's remarks.
loadingPoint (string) The physical location where the goods are loaded. The default is the company physical location.
loadingPointAddress (string) The physical location address where the goods are loaded. The default is the company physical location address.
loadingStreetName (string) The street name of the physical location where the goods are loaded. The default is the company physical location.
loadingBuildingNumber (string) The building number of the physical location where the goods are loaded. The default is the company physical location.
loadingPostalZone (string) The postal zone of the physical location where the goods are loaded. The default is the company physical location.
loadingCityName (string) The city of the physical location where the goods are loaded. The default is the company physical location.
loadingCountry (string) The country of the physical location where the goods are loaded. The default is the company country.
unloadingPoint (string) The physical location where the goods are unloaded. Defines the unloading from the freight. The default is customer address.
unloadingPointAddress (string) The physical location address where the goods are unloaded. The default is customer address.
unloadingStreetName (string) The street name of the physical location where the goods are unloaded. The default is customer address street name.
unloadingBuildingNumber (string) The building number of the physical location where the goods are unloaded. The default is customer address building number.
unloadingPostalZone (string) The postal zone of the physical location where the goods are unloaded. The default is customer address postal zone.
unloadingCityName (string) The city name of the physical location where the goods are unloaded. The default is customer address city name.
unloadingCountry (string) Country.
pickingTime (TimeSpan) The goods loading date and time from the loading physical location. The default is the order creation date and time.
vehiclePlateNumber (string) The vehicle's plate used to trasnport the goods.
legalStamp (string) In some countries, the documents issued by a company have to contain mandatory remarks, clearly visible in printing, which may vary according to the document. These texts are printed under the signature terms. Internally determined.
isPrinted (bool) Indicates if the order has been printed. Internally determined.
noteToRecipient (string) The note to the order recipient.
documentLines (List of OrderLineResource) The order's lines.
See OrderLineResource.
deliveryTerm (string) The conditions in a sales or transportation contract that specify the means of transportation. The default is defined on the customer party.
economicActivityClassification (string) The order's economic activity classification. A national legal standard that attributes a 5-digit value to identify a company's specific category of professional activity.
priceList (string) The catalogued table values ​​that sets the standard price for the products and goods traded by a specific entity. The default is inferred from the customer party if defined, otherwise from the sales setup.
salesperson (string) The sales person associated to the order. Sales representative or salesman (whether he is under direct control of a company or not) is authorized to procure business opportunities for a company. The default is defined on the customer party.
altAddress (string) The alternative customer's address key to be used on the order. The alternative addresses keys are defined on the customer party addresses. When defined overrides the customer party address and unloading address values.
salesChannel (string) The order's sales channel origin. The default value is defined in the sales setup configuration settings.
sourceDoc (string) The source document using the format {..} when the order is transformed from another document. Internally determined.
sourceDocId (Guid) The source document identifier when the order is transformed from other source document. Internally determined.
sourceSchemaEntity (string) The source's schema entity.
isOneTimeCustomer (bool) Defines if the customer party is a marked as an one time customer. Internally determined.
accountingAltAddress (string) The alternative address for the accounting.
notification (string) The order's notification configuration. Inferred from the order type.
emailTo (string) The email(s) to send order notification. Inferred from the notification.
hash (string) Reference value to determine the authenticity or integrity of an object. The result of applying a mathematical formula to the object must be equal to this value for it to be authentic. Internally determined.
hashControl (string) Reference value subset to determine the authenticity or integrity of an object. The result of applying a mathematical formula to the object must be equal to this value for it to be authentic. Internally determined.
printAllDiscounts (string) Discount.
aTCUD (string) Unique fiscal document code. The result of applying a mathematical formula to the object that includes the series validation code assigned by the country's tax authority. Internally determined.
aTQRCode (string) Unique fiscal document bidimensional QR code. The result of applying a mathematical formula to the object that includes the series validation code assigned by the country's tax authority. Internally determined.
store (string) The order's sales channel origin. The default value is defined in the documenttype series.
pickupStore (string) Pickup Store.
printedReportName (string) Printed Report Name.
isReprinted (bool) Is Reprinted.
isSigned (bool) Is Signed.
fiscalDocumentType (string) Fiscal Document Type.


StandardOrderDocumentLinesResource

The following elements are required:

unit (string) The order's line item sales unit. The default sales unit is defined on the sales item.
unitPrice (MoneyResource) The order's line item unit price. The default price is loaded from sales item prices when there is a match on the combination of price list, currency, tax included and unit.
See MoneyResource .
itemTaxSchema (string) The order's line item tax schema. The tax schema identifies the group of taxes a item is liable for. The default tax schema is defined on the sales item.
lineExtensionAmount (MoneyResource) The order's line payable amount. The line value including taxes and discounts. Internally calculated.
See MoneyResource .
salesItem (string) The sales item representing the good or service to be ordered.
quantity (decimal) The order's line item quantity. The default 1.
description (string) The order's line item description. The default is defined on the sales item.
deliveryDate (DateTime) The expected delivery date.
itemType (enum ItemType) The order's line item type. Inferred from the sales item type. Internally determined.
See ItemType.

The following elements are optional:

warehouse (string) The order's line item warehouse. The default is defined on the materials item.
discount1 (decimal) The line item's discount 1 percentage. The default is 0.
commitmentReference (string) Commitment Ref.


StandardOrderResource

The following elements are required:

buyerCustomerParty (string) The customer party that receives or consumes products (goods or services).
documentDate (DateTime) The date when the document is issued.
payableAmount (MoneyResource) The order's payable amount. Total value of goods and services including taxes and discounts. Internally calculated.
See MoneyResource .
paymentMethod (string) The financial transfer method used by the entity responsible for paying a transaction. For example, cash, transfer or check payments. The default is defined on the customer party.
paymentTerm (string) The term specifying the manner in which a trade will be done. Generally, these terms specify a period in which the buyer can pay the due amount. They can also demand some money to be paid in advance, paid in cash at delivery, a 30 day or longer period, or other similar arrangements for deferred payment. The default is defined on the customer party.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the order type.
company (string) The company's code is the central organizational unit within the system.
documentType (string) Defines the order's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default order type is defined in the sales setup configuration setting.
seriesNumber (int) The sequential number internally determined that uniquely identifies the document within the order type and serie. Part of the document natural key.
autoCreated (bool) Indicates whether the document was created internally by the system.
discount (decimal) The discount's percentage. The default is defined on the customer party.
discountInValueAmount (MoneyResource) Discount In Value.
See MoneyResource .
isSeriesCommunicated (bool) Is Series Communicated.
isCommunicated (bool) Is Communicated.
isWsCommunicable (bool) Indicates if the order is communicated via web service to fiscal authority. Inferred from the order type serie.

The following elements are optional:

deliveryTerm (string) The conditions in a sales or transportation contract that specify the means of transportation. The default is defined on the customer party.
documentLines (List of StandardOrderDocumentLinesResource) The order's lines.
See StandardOrderDocumentLinesResource.
sourceDoc (string) The source document using the format {..} when the order is transformed from another document. Internally determined.
isPrinted (bool) Indicates if the order has been printed. Internally determined.
note (string) The document's note.
hash (string) Reference value to determine the authenticity or integrity of an object. The result of applying a mathematical formula to the object must be equal to this value for it to be authentic. Internally determined.
isOneTimeCustomer (bool) Defines if the customer party is a marked as an one time customer. Internally determined.
isReprinted (bool) Is Reprinted.
isSigned (bool) Is Signed.
printedReportName (string) Printed Report Name.
fiscalDocumentType (string) Fiscal Document Type.


ExtensibilityCustomAttributeValueResource

The following elements are required:

value (object) The custom attribute value.

Enumerations


DocumentLineStatus

1 Open
2 Completed


DocumentStatus

1 Open
2 Completed


ItemType

1 Item
2 Service
3 SpecialSalesTaxes
4 Tax
5 Other


OrderNature

1 StandardOrder
2 ReturnOrder