Create order
Places an order for one or more products from a supplier.
Sensible defaults are applied for anything not specified: the fulfillment method defaults to standard delivery, the delivery date to the earliest available, the distribution center to the closest one, and quantity to 1 per line item. Validation runs before placement — the supplier, line items, options, fulfillment choices, and payment method are all checked, and the request is rejected with a specific error code when something doesn’t hold together.
Pass an idempotencyKey to make retries safe: resubmitting the same order with the same key within 5 minutes returns the existing order instead of creating a duplicate. This matters on failure: a 5xx response or a timeout does not guarantee the order was not placed, so retry only with the same idempotencyKey — a retry without one can create a duplicate order.
Validation failures return 400 with one of these codes: VALIDATION_ERROR, INVALID_SUPPLIER, PRODUCTS_NOT_FOUND, PRODUCTS_DISCONTINUED, INVALID_PRODUCT_OPTIONS, INVALID_UNIT_OF_MEASURE, ADDON_WITH_ID_NOT_AVAILABLE, ADDON_WITH_TITLE_NOT_AVAILABLE, CONFLICTING_WARRANTY_INPUT, WARRANTY_SKU_NOT_AVAILABLE_FOR_PRODUCT, NO_AVAILABLE_WARRANTIES_FOR_PRODUCT, INVALID_FULFILLMENT_METHOD, NO_AVAILABLE_DELIVERY_METHODS, NO_AVAILABLE_FULFILLMENT_DATES, INVALID_REQUESTED_DELIVERY_DATE, NO_AVAILABLE_PAYMENT_METHODS, NO_DISTRIBUTION_CENTER_FOUND, INVALID_SUBSCRIBERS, NO_SHIP_TO_OFFICE_PROPERTY_ID_PROVIDED_WHEN_USING_SHIP_TO_OFFICE, OFFICE_PROPERTY_ID_PROVIDED_FOR_NON_SHIP_TO_OFFICE.
/AuthorizationBearer token · headerrequiredAPI token from the SIBI developer dashboard (developer.sibipro.com), sent as Authorization: Bearer <token>.
create:ordersapplication/jsonsupplierstringThe supplier to order from, identified by its slug. Required unless the deprecated seller is sent.
sellerstringdeprecatedDeprecated: use supplier instead. Ignored when supplier is also sent.
addressOrderAddressrequiredThe address must correspond to a valid property in the system. If the address is not valid, the request fails with an error.
Show propertiesHide properties
line1stringrequiredStreet address
line2stringAdditional address line
citystringrequiredCity
stateOrProvincestringrequiredState or province
postalCodestringrequiredPostal code
countrystringCountry. Defaults to USA.
lineItemsOrderLineItemInput[]requiredThe products to order. At least one line item must be specified, and at most 100.
Show propertiesHide properties
OrderLineItemInputskustringrequiredThe SKU of the product to order
quantityintegerDefaults to 1 if not provided.
unitOfMeasurestringIf not provided, defaults to ordering a single instance of the product (1 each, 1 sq ft, etc). Note that this may cause the quantity to be rounded up to the nearest whole multiple of the minimum order quantity.
optionsobject[]Product options. Options a product requires must be provided with valid values.
Show propertiesHide properties
objectkeystringrequiredOption key, as listed on the product
valuestringrequiredOption value
addonIdsstring[]Ids of addons to attach to this product line. Must be available for this product. Each id at most once.
addonTitlesstring[]Addons can be referenced by title instead of id.
warrantySkustringAttach a warranty to this product line. Must be one of the warranty SKUs in this product's available warranties. Omit to skip warranty coverage for this line. At most one warranty per line.
applyWarrantyCoveragebooleanPer-product warranty coverage flag. true auto-picks the first available warranty for this line and is rejected with NO_AVAILABLE_WARRANTIES_FOR_PRODUCT if the product has none (an explicit warrantySku on the same line wins). false explicitly opts the line out and is rejected with CONFLICTING_WARRANTY_INPUT if warrantySku is also set. Omitted attaches no warranty.
contactInfoOrderContactInforequiredContact information for the customer receiving the order.
Show propertiesHide properties
firstNamestringrequiredlastNamestringrequiredemailstring<email>requiredphonestringrequiredfulfillmentMethodIdstringFulfillment method id for the order. If not provided, defaults to standard delivery.
fulfillmentMethodTypestringFulfillment method type for the order. Defaults to 'DELIVERY' when both are available.
DELIVERYPICKUPshipToOfficePropertyIdstringThe property id of the office to ship the order to. Required when fulfillmentMethodId is 'ship-to-office', and only valid in that case.
requestedDeliveryDatestringThe date the customer wants the order delivered. If not provided, defaults to the earliest available. If the provided date is not available, the request fails with an error.
poNumberstringA reference number of the caller's choosing. It does not need to be a number.
specialInstructionsstringFree-form instructions for fulfillment.
distributionCenterIdstringIf omitted the order is placed in the closest distribution center.
paymentMethodIdstringrequiredThe payment method to charge. Must be one of the available payment methods for this caller.
idempotencyKeystringA unique identifier for the order. If the same order is submitted multiple times within 5 minutes with the same idempotency key, the API returns the existing order and does not create a new one.
subscribersobject[]An optional list of subscribers to receive updates about the order in addition to the user account that placed the order. Pass an empty list to opt out of status notifications.
Show propertiesHide properties
objectemailstringrequiredOrder updates are sent to this email in addition to the user account that placed the order. An incorrectly formatted email is rejected.
warrantyOrderPaymentMethodIdstringIf provided, this payment method is used for the warranty sub-order instead of the parent order's paymentMethodId. Must be one of the warranty-order payment methods available to this caller.
The order was created.
idstringrequiredThe unique identifier for the created order
orderUrlstringrequiredA link to the order in the Sibi web app
warrantyOrderIdstring | nullrequiredThe id of the warranty sub-order. null unless the request included a warranty selection and the warranty order was created successfully.
warrantyOrderUrlstring | nullrequiredA link to the warranty sub-order in the Sibi web app. null unless the request included a warranty selection and the warranty order was created successfully.
Bad request - Invalid input data. See the operation description for the possible error codes.
codestringrequiredError code indicating the type of error
VALIDATION_ERRORINVALID_SUPPLIERPRODUCTS_NOT_FOUNDPRODUCTS_DISCONTINUEDINVALID_PRODUCT_OPTIONSINVALID_UNIT_OF_MEASUREADDON_WITH_ID_NOT_AVAILABLEADDON_WITH_TITLE_NOT_AVAILABLECONFLICTING_WARRANTY_INPUTWARRANTY_SKU_NOT_AVAILABLE_FOR_PRODUCTNO_AVAILABLE_WARRANTIES_FOR_PRODUCTINVALID_FULFILLMENT_METHODNO_AVAILABLE_DELIVERY_METHODSNO_AVAILABLE_FULFILLMENT_DATESINVALID_REQUESTED_DELIVERY_DATENO_AVAILABLE_PAYMENT_METHODSNO_DISTRIBUTION_CENTER_FOUNDINVALID_SUBSCRIBERSNO_SHIP_TO_OFFICE_PROPERTY_ID_PROVIDED_WHEN_USING_SHIP_TO_OFFICEOFFICE_PROPERTY_ID_PROVIDED_FOR_NON_SHIP_TO_OFFICEmessagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredUnauthorized - Missing or invalid authentication
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredForbidden - the token was minted for the other environment, is not a Public REST API token, or does not carry the scope this operation requires
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredInternal server error
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequired