Create order
Places an order for one or more products from a seller.
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 seller, 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_SELLER, 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 · headerrequiredcreate:ordersapplication/jsonsellerstringrequiredaddressOrderAddressrequiredShow propertiesHide properties
line1stringrequiredline2stringcitystringrequiredstateOrProvincestringrequiredpostalCodestringrequiredcountrystringlineItemsOrderLineItemInput[]requiredShow propertiesHide properties
OrderLineItemInputskustringrequiredquantityintegerunitOfMeasurestringoptionsobject[]Show propertiesHide properties
objectkeystringrequiredvaluestringrequiredaddonIdsstring[]addonTitlesstring[]warrantySkustringapplyWarrantyCoveragebooleancontactInfoOrderContactInforequiredShow propertiesHide properties
firstNamestringrequiredlastNamestringrequiredemailstringrequiredphonestringrequiredfulfillmentMethodIdstringfulfillmentMethodTypestringDELIVERYPICKUPshipToOfficePropertyIdstringrequestedDeliveryDatestringpoNumberstringspecialInstructionsstringdistributionCenterIdstringpaymentMethodIdstringrequiredidempotencyKeystringsubscribersobject[]Show propertiesHide properties
objectemailstringrequiredwarrantyOrderPaymentMethodIdstringidstringrequiredorderUrlstringrequiredwarrantyOrderIdstring | nullrequiredwarrantyOrderUrlstring | nullrequiredcodestringrequiredVALIDATION_ERRORINVALID_SELLERPRODUCTS_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_OFFICEmessagestringrequireddetailsobject[]Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredcodestringrequiredmessagestringrequireddetailsobject[]Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredcodestringrequiredmessagestringrequireddetailsobject[]Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredcodestringrequiredmessagestringrequireddetailsobject[]Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredcurl -X POST "https://api.sibipro.com/orders/" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"seller": "ge",
"address": {
"line1": "1630 W Guadalupe Rd",
"line2": "Ste 101",
"city": "Gilbert",
"stateOrProvince": "AZ",
"postalCode": "85233",
"country": "USA"
},
"lineItems": [
{
"sku": "GDF510PSRSS",
"quantity": 1,
"unitOfMeasure": "Each",
"options": [
{
"key": "ppg-paint-color",
"value": "PPG1105-3"
}
],
"addonIds": [
"string"
],
"addonTitles": [
"string"
],
"warrantySku": "string",
"applyWarrantyCoverage": true
}
],
"contactInfo": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "1234567890"
},
"fulfillmentMethodId": "sibi-sibi-default-delivery",
"fulfillmentMethodType": "DELIVERY",
"shipToOfficePropertyId": "string",
"requestedDeliveryDate": "2026-09-01",
"poNumber": "PO-123456",
"specialInstructions": "The lock code is 1234",
"distributionCenterId": "string",
"paymentMethodId": "MANUFACTURER_CREDIT",
"idempotencyKey": "string",
"subscribers": [
{
"email": "updates@example.com"
}
],
"warrantyOrderPaymentMethodId": "string"
}'const response = await fetch("https://api.sibipro.com/orders/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"seller": "ge",
"address": {
"line1": "1630 W Guadalupe Rd",
"line2": "Ste 101",
"city": "Gilbert",
"stateOrProvince": "AZ",
"postalCode": "85233",
"country": "USA"
},
"lineItems": [
{
"sku": "GDF510PSRSS",
"quantity": 1,
"unitOfMeasure": "Each",
"options": [
{
"key": "ppg-paint-color",
"value": "PPG1105-3"
}
],
"addonIds": [
"string"
],
"addonTitles": [
"string"
],
"warrantySku": "string",
"applyWarrantyCoverage": true
}
],
"contactInfo": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "1234567890"
},
"fulfillmentMethodId": "sibi-sibi-default-delivery",
"fulfillmentMethodType": "DELIVERY",
"shipToOfficePropertyId": "string",
"requestedDeliveryDate": "2026-09-01",
"poNumber": "PO-123456",
"specialInstructions": "The lock code is 1234",
"distributionCenterId": "string",
"paymentMethodId": "MANUFACTURER_CREDIT",
"idempotencyKey": "string",
"subscribers": [
{
"email": "updates@example.com"
}
],
"warrantyOrderPaymentMethodId": "string"
})
});{
"id": "SIBI-12345678",
"orderUrl": "https://web.sibipro.com/orders/SIBI-12345678",
"warrantyOrderId": "string",
"warrantyOrderUrl": "string"
}{
"code": "VALIDATION_ERROR",
"message": "The request contains invalid parameters",
"details": [
{
"field": "customer.email",
"error": "Invalid email"
},
{
"field": "address.postalCode",
"error": "Invalid"
}
]
}{
"code": "string",
"message": "The request contains invalid parameters",
"details": [
{
"field": "customer.email",
"error": "Invalid email"
},
{
"field": "address.postalCode",
"error": "Invalid"
}
]
}{
"code": "string",
"message": "The request contains invalid parameters",
"details": [
{
"field": "customer.email",
"error": "Invalid email"
},
{
"field": "address.postalCode",
"error": "Invalid"
}
]
}{
"code": "string",
"message": "The request contains invalid parameters",
"details": [
{
"field": "customer.email",
"error": "Invalid email"
},
{
"field": "address.postalCode",
"error": "Invalid"
}
]
}