This guide explains how to create Simple, Configurable, and Grouped products through the OrderCentral API, with a focus on request structure and endpoint usage.
Scope of this guide:
- Product creation and product structure management only
- No authentication details
1. Product model essentials
All product creation uses:
POST /product- Body schema discriminated by
productType
Supported productType values:
SimpleConfigurableGrouped
Common useful fields:
title(required): localized text objectdescription,featuresactivecategories(optional on create)images(optional on create)addons(optional on create)
Key reusable objects:
sku: SKU reference (skuIdorexternalSkuCode)prices[]: price entries (schema requires at leasttypeandunitPrice; includecurrencyIsoCodeas needed)optionTypes[]: option dimensions (for examplecolor,size)options[]: variant or grouping rowsoptionItems[]: component items inside grouped options
2. Create a Simple product
Use a single product-level SKU and product-level prices.
Endpoint:
POST /product
Minimal payload:
{
"productType": "Simple",
"title": {
"value": "Atlas Standard Shingle"
},
"active": true,
"sku": {
"externalSkuCode": "SHINGLE-STD-001"
},
"prices": [
{
"type": "Gold",
"unitPrice": 19.99,
"currencyIsoCode": "USD"
}
]
}
Notes:
skuis required forSimple.- At least one
pricesentry is required forSimple. - Use
externalSkuCodeconsistently to reduce duplicate creation risk across retries.
3. Create a Configurable product
Use product-level optionTypes and per-option SKU + price.
Endpoint:
POST /product
Minimal payload:
{
"productType": "Configurable",
"title": {
"value": "Atlas Roof Vent"
},
"active": true,
"optionTypes": [
{
"key": "color",
"label": { "value": "Color" }
},
{
"key": "size",
"label": { "value": "Size" }
}
],
"options": [
{
"label": { "value": "Black / Small" },
"optionValues": [
{
"typeKey": "color",
"value": { "value": "Black" }
},
{
"typeKey": "size",
"value": { "value": "Small" }
}
],
"sku": {
"externalSkuCode": "VENT-BLK-S"
},
"prices": [
{
"type": "Gold",
"unitPrice": 24.0,
"currencyIsoCode": "USD"
}
]
},
{
"label": { "value": "White / Large" },
"optionValues": [
{
"typeKey": "color",
"value": { "value": "White" }
},
{
"typeKey": "size",
"value": { "value": "Large" }
}
],
"sku": {
"externalSkuCode": "VENT-WHT-L"
},
"prices": [
{
"type": "Gold",
"unitPrice": 29.0,
"currencyIsoCode": "USD"
}
]
}
]
}
Rules to respect:
optionTypesshould be defined for configurable products.- Every
options[i].optionValues[].typeKeymust match anoptionTypes[].key. - Every option row needs its own
skuand at least one price.
4. Create a Grouped product
Use options that contain optionItems (bundle/component rows), each with SKU and quantity.
Endpoint:
POST /product
Minimal payload:
{
"productType": "Grouped",
"title": {
"value": "Starter Roofing Kit"
},
"active": true,
"optionTypes": [
{
"key": "bundle",
"label": { "value": "Bundle" }
}
],
"options": [
{
"label": { "value": "Base Kit" },
"optionValues": [
{
"typeKey": "bundle",
"value": { "value": "Base" }
}
],
"optionItems": [
{
"sku": {
"externalSkuCode": "KIT-ITEM-UNDERLAY"
},
"quantity": 1,
"prices": [
{
"type": "Gold",
"unitPrice": 10.0,
"currencyIsoCode": "USD"
}
]
},
{
"sku": {
"externalSkuCode": "KIT-ITEM-NAILS"
},
"quantity": 2,
"prices": [
{
"type": "Gold",
"unitPrice": 5.5,
"currencyIsoCode": "USD"
}
]
}
]
}
]
}
Rules to respect:
- Grouped product requires
options. - Each option requires at least one
optionItemsrow. - Each
optionItems[j]requiresskuandquantity(>= 1).
5. Typical response and next step
Successful create response:
{
"id": "a0Bxx0000000003"
}
Use returned id as productId in follow-up operations.
6. Follow-up endpoints for incremental updates
After initial creation, you can evolve structure incrementally:
- Update top-level product fields:
PATCH /product/{productId}
- Add a new variant/group option row:
POST /product/{productId}/options
- Update an option row:
PATCH /product/{productId}/options/{optionId}
- Add grouped option item:
POST /product/{productId}/options/{optionId}/items
- Update grouped option item:
PATCH /product/{productId}/options/{optionId}/items/{itemId}
- Replace categories:
PUT /product/{productId}/categories
- Upsert a product-level price:
PUT /product/{productId}/prices
- Update translations:
PATCH /product/{productId}/translations
- Add/replace addons:
POST /product/{productId}/addonsorPUT /product/{productId}/addons
7. Recommended creation patterns
Pattern A: One-shot create (fastest)
- Build a complete
POST /productpayload including options/items/prices. - Create product once.
- Save returned
productIdin your source system.
Pattern B: Progressive build (safer for complex catalogs)
- Create base product with minimum required fields.
- Add options/items in smaller calls.
- Upsert prices/categories/translations in dedicated endpoints.
Pattern C: Retry-safe integration behavior
- Use stable vendor keys (
externalSkuCode) in all SKU references. - On retry, first
GET /product/{productId}if you already have an internal mapping. - Use update/upsert endpoints instead of recreating where possible.
8. Validation and error behavior to plan for
Common failure responses:
400validation errors (missing required fields, invalid references, bad shape)404referenced record or product not found403permission errors
Practical checks before sending:
productTypematches payload structure- Option
typeKeyvalues map to definedoptionTypes - Grouped item quantities are positive integers
- SKU references exist and are resolvable
9. Quick endpoint map by product type
-
Simple:
- Create with
sku+pricesat product level - Maintain with
PATCH /product/{productId}andPUT /product/{productId}/prices
- Create with
-
Configurable:
- Create with
optionTypes+options[](each option hassku+prices) - Maintain with options endpoints
- Create with
-
Grouped:
- Create with
options[]containingoptionItems[] - Maintain with option item endpoints
- Create with