Submit order with scale priced products

Submits the order. For the variants, the scale prices of the associated product are used. If there are organization specific prices configured for the customer organization, they will be preferred.

If an online payment method is used, the payment transaction is executed immediately. In case of a payment error, a detailed error will be thrown.

Will generate an Order submitted event.

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the POST request to /api/v1/authenticate.

Request

This endpoint expects an object.
variantlist of objectsOptional
payment_optionobjectOptional
shipping_optionobjectOptional
shipping_addressobjectOptional
invoice_addressobjectOptional
auto_provisioningbooleanOptional
purchase_order_numberstringOptional
Optional alphanumeric string that can be used as internal reference by the customer. Maximum 50 characters.

Response

Order submitted and either payed immediately via online payment or returning payment details for wire transfer.
iddouble
statusobject
paidboolean
submit_datestring
issuer_orgobject
customer_orgobject
linelist of objects
shipping_addressobject
invoice_addressobject
shipping_optionobject
payment_optionobject
subtotaldouble
vat_ratedouble
vatdouble
totaldouble
currencyobject
metaobject
purchase_order_numberstring

Errors

400
Bad Request Error
404
Not Found Error
500
Internal Server Error