Create new order

Errors

All errors are in the following format

{
  "error": {
    "code": 400,
    "message": "The selected currency is invalid."
  }
}

Here is a list of possible errors when creating an order

CodeMessage
400The products field is required when offers is not present.
400The offers field is required when products is not present.
400The order id field is required.
400The price field is required.
400The price must be at least 0.
400The currency must be 3 characters.
400The selected currency is invalid.
400The shipping price must be at least 0.
400The selected courier is invalid.
400The selected discount type is invalid.
400The discount value must be at least 0.
400The selected status id is invalid.
400The selected type is invalid.
400The selected payment side is invalid.
400The products.0.sku field is required when products.0.product id is not present.
400The products.0.product id field is required when products.0.sku is not present.
400The products.0.product id must be an integer.
400The products.0.name field is required.
400The products.0.quantity field is required.
400The products.0.quantity must be at least 1.
400The products.0.unit price field is required.
400The products.0.weight field is required.
400The products.0.weight must be at least 0.
400The products.0.width must be at least 0.
400The products.0.height must be at least 0.
400The products.0.length must be at least 0.
400The selected products.0.discount type is invalid.
400The products.0.discount value must be at least 0.
400The products.0.vat must be between 0 and 99.
400The products.0.characteristics field is required when variant is present.
400The products.0.characteristics must be an array.
400The products.0.characteristics.0.key field is required when products.0.characteristics is present.
400The products.0.characteristics.0.value field is required when products.0.characteristics is present.
400The products.0.image must be a valid URL.
400The selected offers.0.id is invalid.
400The offers.0.quantity field is required.
400The offers.0.quantity must be at least 1.
400The offers.0.unit price field is required.
400The offers.0.amount field is required.
400The selected offers.0.discount type is invalid.
400The offers.0.discount value must be at least 0.
400The offers.0.vat must be between 0 and 99.
400The receiver.name field is required.
400The receiver.phone field is required.
400The selected receiver.office id is invalid.
400The receiver.country field is required.
400The receiver.country must be 2 characters.
400The receiver.email must be a valid email address.
400The receiver.place field is required.
400The receiver.post code field is required.
400The receiver.street field is required when receiver.complex is not present.
400The receiver.office id field is required when receiver.office code is not present.
400The receiver.office id must be a number.
400The receiver.office code field is required when receiver.office id is not present.
400The receiver.other must be at least 1 characters.
400The docs.0.url field is required when docs.0.src is not present.
400The docs.0.src field is required when docs.0.url is not present.
400The services must be an array.
400The services.cod.amount field is required when services.cod is present.
400The services.cod.currency field is required when services.cod is present.
400The selected services.cod.currency is invalid.
400The selected services.cod.processing type is invalid.
400The services.cod.included shipping price field is required when services.cod is present.
400The services.cod.included shipping price field must be true or false.
400The services.dv.amount field is required when services.dv is present.
400The services.dv.amount must be at least 0.
400The services.dv.currency field is required when services.dv is present.
400The selected services.dv.currency is invalid.
400The services.ftd must be a valid hour.
400The services.swap.parcels count field is required when services.swap is present.
400The services.swap.parcels count must be at least 1.
400The services.swap.package field is required when services.swap is present.
400The selected services.swap.package is invalid.
400The services.swap.fragile field is required when services.swap is present.
400The services.swap.fragile field must be true or false.
400The services.sd field must be true or false.
400The services.special must be an integer.
400The services.dtf must be at least 1.
400The services.deferred days must be at least 1.
400The services.obpd.option field is required when services.obpd is present.
400The selected services.obpd.option is invalid.
400The services.obpd.return shipment payer field is required when services.obpd is present.
400The selected services.obpd.return shipment payer is invalid.
400The services.cv.amount field is required when services.cv is present.
400The services.cv.amount must be at least 1.
400The services.cv.currency field is required when services.cv is present.
400The selected services.cv.currency is invalid.
400The services.fragile field must be true or false.
400The services.signature field must be true or false.
400Courier must be specified when you provide office_code
400Invalid office code
400The selected office is not active
400Country not found
400An error occurred.
400'cod' is not a valid service.
401Unauthorized
401App is not active
401Company contract is inactive or disabled. Please contact your account manager.
401You don't have access from this IP address.
403You don't have permission to access this resource.
404Not found
500Temporarily unavailable
Language
Credentials
Click Try It! to start a request and see the response here!