Create an order
Create an order
Rate Limit: 300 Max attempts within 1 minute.
Path Parameters
Parameter | Details |
---|---|
shopKey
| string Example: ms |
countryCode
| string Example: de |
Request body
requiredParameter | Details |
---|---|
id | integer |
address
| object |
basketKey | string |
campaignKey | string |
confirmedAt | string Example: 2021-09-23T11%3A30%3A58%2B00%3A00 |
contacts | object type stringvalue string |
cost | object appliedFees arrayappliedReductions arraywithTax integerwithoutTax integerwithTaxWithMembershipDiscountWithoutServiceCosts integerwithoutTaxWithMembershipDiscount integercostCapture integer |
currencyCode | string |
customer
| object referenceKey string
Pattern: ^[0-9a-zA-Z\-\\_\.\@]*$ identities arraylegacyCustomData |
shopCountry
| object countryCode string
Example: DE defaultLanguageCode string
Example: de_DE supportedLanguageCodes arrayurl stringExample: https://www.example.com currencyCode string
Example: EUR customData
|
invoicedAt | string Example: 2021-09-23T11%3A30%3A58%2B00%3A00 |
createdAt | string Example: 2021-09-23T11%3A30%3A58%2B00%3A00 |
updatedAt
| string Example: 2021-09-23T11%3A30%3A58%2B00%3A00 |
items | object availableQuantity integercurrency stringPattern: ^([A-Z]{3})$ legacyCustomData packageId integerkey stringreservationKey stringstatus stringEnum: available cancelled delivered returned unavailable warehouseId integer
campaignKey stringcreatedAt stringFormat: date-time Example: 2021-09-23T11%3A30%3A58%2B00%3A00 |
legacyCustomData | object |
membershipDiscount
| object membershipCardId integerpointsUsed integerreductionValue integertax integer |
packages | object id integershipmentKey stringcarrierKey string
deliveryStatus stringEnum: open shipment_pending delegation_pending shipment_completed cancellation_complete |
payment | object amount integerkey stringtransactionKey stringinstallment array |
promotion
| object id stringcode stringdisplayName stringreduction stringversion string |
publicKey
| string |
referenceKey
| string |
shipping | object policy stringdeliveredOn stringPattern: [0-9]{4}\-[0-9]{2}\-[0-9]{2} deliveryCosts integerexpressDeliveryCosts integer |
status | string Enum: order_open payment_pending payment_reserved invoice_completed cancellation_pending cancellation_completed invoice_partially_completed |
detailedStatus
| object order shipping billing |
vouchers | object id integerapplicableItems arraycode stringtype stringEnum: absolute relative value integer |
voucher
| object id integerapplicableItems arraycode stringtype stringEnum: absolute relative value integer |
loyaltyCard
| object cardNumber stringpoints integerprovider stringPattern: [A-Za-z] |
Responses
200
The order has been successfully created
application/json
Success
id
integer
object
basketKey
string
campaignKey
string
confirmedAt
string
Example:
2021-09-23T11%3A30%3A58%2B00%3A00
Array of object
required
object
currencyCoderequired
string
object
object
invoicedAt
string
Example:
2021-09-23T11%3A30%3A58%2B00%3A00
createdAt
string
Example:
2021-09-23T11%3A30%3A58%2B00%3A00
updatedAt
string
Example:
2021-09-23T11%3A30%3A58%2B00%3A00
Array of object
object
object
Array of object
Array of object
Array of object
publicKey
string
referenceKey
string
object
status
string
object
Array of object
object
object
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
409
Conflict error
application/json
Error
422
Unprocessable content
application/json
Error
POST
Request samples
Response samples
200Order:
Content type: application/json