PurchaseOrderFinishedGoodsPOST
Request body for creating a Finished Goods (item) Purchase Order. Requires packaging_details. Line items use product/item references (entity_type item).
lines object[]required
Purchase Order Line information (finished goods only; ProductItem or LinkedProduct).
Possible values: >= 1
- Manual Finished Goods Item
- Linked Finished Goods Item
Order Line information
Cost Amount
Cost Currency Code. Possible values: See full list here
Possible values: <= 3 characters
USDShipment terms
Possible values: <= 255 characters
DDPadditional_attributes object[]nullable
Additional custom attributes associated with the entity
The type of the attribute (str, num, dte, etc)
The identifier of the attribute
Possible values: <= 255 characters
value objectrequired
- string
- number
- string[]
item ProductItem
Product Item data
Custom Identifier for the Product referred
Possible values: <= 255 characters
item_123Possible values: [item]
Possible values: <= 255 characters
Possible values: <= 255 characters
The Product Category ID
Possible values: <= 255 characters
The Product Line ID
Possible values: <= 32 characters
The Department ID
Possible values: <= 255 characters
The Class ID
Possible values: <= 255 characters
The Brand ID
Possible values: <= 255 characters
Color of the product
Possible values: <= 255 characters
Size of the product
Possible values: <= 255 characters
Total quantity of the purchase order, must be non negative
100Unit of measure code for the total quantity. Possible values: See full list here
Possible values: <= 30 characters
pcLocal Custom ID of the organization that owns item references in this PO
Possible values: <= 255 characters
data_provider_1Original purchase order number stored in client's system
Possible values: <= 255 characters
opo_1Also called po_id. Unique identifier of the purchase order
Possible values: <= 255 characters
abc-def-123-456Creation date of the purchase order
2025-12-15T10:01:10.693888ZThe date the Purchase Order was issued (PO Issue Date). It is stored in the same field as created_date. When issue_date is provided, even as null, it takes priority over created_date. created_date is used only when issue_date is omitted. On update, if the resulting date is null or omitted the previously stored value is cleared.
2023-02-10Deprecated, use issue_date. Used only when issue_date is omitted.
2023-02-10Local Custom ID of the Brand/Retailer organization of the purchase order
Possible values: <= 255 characters
client_1Last updated date of the purchase order
2025-12-15T10:01:10.693897ZThe last updated date from the client system of the Purchase Order
2019-02-20T06:37:18ZCommit ID of the purchase order
Possible values: <= 255 characters
commit_id_1Commit PO sequence of the purchase order
Possible values: <= 255 characters
commit_po_sequence_1Delivery date or shipment start date of the purchase order
2021-05-23Name of the corresponding event in the client's system
Possible values: <= 255 characters
Event 1Local Custom ID of the Factory organization of the purchase order
Possible values: <= 255 characters
factory_1In store date of the purchase order
2021-06-01T00:00:00ZPurchase order number to be stored in Inspectorio
Possible values: non-empty and <= 255 characters
po_1Indicate the source of materials (produced by domestic vendors or imported from vendors outside the country)
Possible values: <= 255 characters
domesticStatus of the purchase order. Accepts the string value "canceled" or a JSON null value to clear the status.
Possible values: [canceled, null]
canceledPurchase order type in a pre-configured list
Possible values: non-empty and <= 80 characters
po_type_1Local Custom IDs of the shared organizations of the purchase order
Possible values: <= 255 characters
["sub_org_1"]Shipment end date of the purchase order
2021-05-30T00:00:00ZConfirmation date of the purchase order
2025-12-15Approval date of the purchase order
2025-12-20Local Custom ID of the Supplier organization of the purchase order
Possible values: non-empty and <= 255 characters
vendor_1Cost Amount
Cost Currency Code. Possible values: See full list here
Possible values: <= 3 characters
USDpackaging_details object[]required
Packaging details information (required for Finished Goods PO).
- AssortmentPackagingDetailLine
- SolidPackagingDetailLine
Assortment of Multiple Products
Possible values: >= 1
Possible values: [assortment, solid]
- assortment
- solid
Solid Packaging of a Product
item SolidPackagedProductrequired
Custom Identifier for the Item referred
Custom Identifier for the Product referred
Possible values: <= 255 characters
item_123Possible values: [item]
Number of units in a Carton. Required when the PO has quantity_breakdown true.
Possible values: >= 1
Unit of measure code for quantity (required when entity_type is material). Possible values: See full list here
Possible values: <= 255 characters
mQuantity of the product. Required unless quantities is sent.
With quantities it may be omitted and is derived as their sum; if sent, it must equal that sum.
Possible values: >= 1
quantities object[]
Quantity breakdown of this item by destination. Only allowed (and then required, at least one row)
when the PO has quantity_breakdown true.
The first row must fill at least one of ship_to_region, ship_to_location or delivery_period,
and every later row must fill at least the same fields.
An item with the same case pack cannot repeat the same ship_to_region + ship_to_location + delivery_period.
Order Carton Qty of the item is ceil(sum(quantities[].quantity) / case_pack_quantity).
Ship To Region. Only allowed when the PO has quantity_breakdown true.
Possible values: <= 255 characters
CB8Ship To Location. Only allowed when the PO has quantity_breakdown true.
Possible values: <= 255 characters
OSDEDelivery Period. Only allowed when the PO has quantity_breakdown true.
Possible values: <= 255 characters
2612Possible values: >= 1
61Possible values: [solid]
Quantity of the carton
Possible values: >= 1
Possible values: <= 255 characters
items AssortmentPackagedProduct[]
Custom Identifier for the Product referred
Possible values: <= 255 characters
item_123Possible values: [item]
Number of units in a Carton
Possible values: >= 1
Unit of measure code for quantity (required when entity_type is material). Possible values: See full list here
Possible values: <= 255 characters
mShip To Region. Only allowed when the PO has quantity_breakdown true.
Possible values: <= 255 characters
CB8Ship To Location. Only allowed when the PO has quantity_breakdown true.
Possible values: <= 255 characters
OSDEDelivery Period. Only allowed when the PO has quantity_breakdown true.
Possible values: <= 255 characters
2612Break solid quantities down by Ship To Region, Ship To Location and Delivery Period.
When true, every solid item must carry quantities and every assortment must carry
at least one of ship_to_region, ship_to_location or delivery_period.
When false or omitted, those fields are rejected.
On update, omitting the flag keeps the stored value, and a PO saved with true cannot be set back to false.
falseadditionalAttributes object[]nullable
Additional custom attributes associated with the entity
The identifier of the attribute
Possible values: <= 255 characters
value objectrequired
- string
- number
- string[]
{
"packaging_details": [
{
"carton_quantity": 0,
"packaging_type": "assortment",
"assortment_id": "string",
"items": [
{
"custom_id": "item_123",
"entity_type": "item",
"case_pack_quantity": 0,
"quantity_uom_code": "m"
}
],
"ship_to_region": "CB8",
"ship_to_location": "OSDE",
"delivery_period": "2612"
},
{
"carton_quantity": 0,
"assortment_id": "string",
"items": [
{
"custom_id": "item_123",
"entity_type": "item",
"case_pack_quantity": 0,
"quantity_uom_code": "m"
}
],
"ship_to_region": "CB8",
"ship_to_location": "OSDE",
"delivery_period": "2612",
"item": {
"custom_id": "item_123",
"entity_type": "item",
"case_pack_quantity": 0,
"quantity_uom_code": "m",
"quantity": 0,
"quantities": [
{
"ship_to_region": "CB8",
"ship_to_location": "OSDE",
"delivery_period": "2612",
"quantity": 61
}
]
}
},
{
"carton_quantity": 0,
"packaging_type": "solid",
"item": {
"custom_id": "item_123",
"entity_type": "item",
"case_pack_quantity": 0,
"quantity_uom_code": "m",
"quantity": 0,
"quantities": [
{
"ship_to_region": "CB8",
"ship_to_location": "OSDE",
"delivery_period": "2612",
"quantity": 61
}
]
}
}
],
"quantity_breakdown": false,
"lines": [
{
"item": {
"custom_id": "item_123",
"entity_type": "item",
"style_id": "string",
"style_name": "string",
"product_category": "string",
"product_line": "string",
"department": "string",
"class": "string",
"brand": "string",
"color": "string",
"size": "string"
},
"unit_cost": 0,
"unit_cost_currency_code": "USD",
"shipment_term": "DDP",
"additional_attributes": [
{
"key": "string",
"value": "string"
}
]
},
{
"item": {
"custom_id": "item_123",
"entity_type": "item"
},
"unit_cost": 0,
"unit_cost_currency_code": "USD",
"shipment_term": "DDP",
"additional_attributes": [
{
"key": "string",
"value": "string"
}
]
}
],
"additionalAttributes": [
{
"key": "string",
"value": "string"
}
],
"total_quantity": 100,
"total_quantity_uom_code": "pc",
"data_provider_custom_id": "data_provider_1",
"custom_id": "opo_1",
"uid": "abc-def-123-456",
"created_at": "2025-12-15T10:01:10.693888Z",
"issue_date": "2023-02-10",
"client_id": "client_1",
"updated_at": "2025-12-15T10:01:10.693897Z",
"updated_date": "2019-02-20T06:37:18Z",
"commit_id": "commit_id_1",
"commit_po_sequence": "commit_po_sequence_1",
"delivery_date": "2021-05-23",
"event_name": "Event 1",
"factory_custom_id": "factory_1",
"in_store_date": "2021-06-01T00:00:00Z",
"po_number": "po_1",
"po_source": "domestic",
"po_status": "canceled",
"po_type": "po_type_1",
"share_to_ids": [
"sub_org_1"
],
"ship_end_date": "2021-05-30T00:00:00Z",
"confirmation_date": "2025-12-15",
"approval_date": "2025-12-20",
"vendor_custom_id": "vendor_1",
"total_cost": 0,
"total_cost_currency_code": "USD"
}