PurchaseOrderPOST
Total quantity of the purchase order, must be non negative
100Unit of measure code for the total quantity. Possible values: See full list here
pcsLocal Custom ID of the organization that owns item references in this PO
data_provider_1Original purchase order number stored in client's system
opo_1Also called po_id. Unique identifier of the purchase order
abc-def-123-456The creation date from the client system of the Purchase Order
2023-02-10Local Custom ID of the Brand/Retailer organization of the purchase order
client_1The last updated date from the client system of the Purchase Order
2019-02-20T06:37:18ZCommit ID of the purchase order
commit_id_1Commit PO sequence of the purchase order
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
Event 1Local Custom ID of the Factory organization of the purchase order
factory_1In store date of the purchase order
2021-06-01T00:00:00ZPurchase order number to be stored in Inspectorio
Possible values: non-empty
po_1Indicate the source of materials (produced by domestic vendors or imported from vendors outside the country)
domesticStatus of the purchase order
Possible values: [canceled]
canceledPurchase order type in a pre-configured list
Possible values: non-empty
po_type_1Local Custom IDs of the shared organizations of the purchase order
["sub_org_1"]Shipment end date of the purchase order
2021-05-30T00:00:00ZLocal Custom ID of the Supplier organization of the purchase order
Possible values: non-empty
vendor_1Local Custom ID of the Material Supplier organization of the purchase order. Required when po_type is material.
Possible values: non-empty
material_supplier_1Cost Amount
Cost Currency Code. Possible values: See full list here
USDpackaging_details object[]required
Packaging details information
- AssortmentPackagingDetailLine
- SolidPackagingDetailLine
Possible values: >= 1
Possible values: [assortment, solid]
- assortment
- solid
item SolidPackagedProductrequired
Custom Identifier for the Item referred
Custom Identifier for the Product referred
item_123Possible values: [item, material]
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
mQuantity of the product
Possible values: >= 1
Possible values: [solid]
Quantity of the carton
Possible values: >= 1
items AssortmentPackagedProduct[]
Custom Identifier for the Product referred
item_123Possible values: [item, material]
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
mQuantity of the carton
Possible values: >= 1
Possible values: [assortment, solid]
- assortment
- solid
items AssortmentPackagedProduct[]
Custom Identifier for the Product referred
item_123Possible values: [item, material]
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
mPossible values: [assortment]
item SolidPackagedProductrequired
Custom Identifier for the Item referred
Custom Identifier for the Product referred
item_123Possible values: [item, material]
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
mQuantity of the product
Possible values: >= 1
lines object[]required
Purchase Order Line information
Possible values: >= 1
- Item
- Material
- LinkedProduct
Cost Amount
Cost Currency Code. Possible values: See full list here
USDShipment terms
DDPitem ProductItemrequired
Product Item data
Custom Identifier for the Product referred
item_123Possible values: [item]
The Product Category ID
The Product Line ID
The Department ID
The Class ID
The Brand ID
Color of the product
Size of the product
Cost Amount
Cost Currency Code. Possible values: See full list here
USDShipment terms
DDPitem MaterialItemrequired
Material Item data
Custom Identifier for the Product referred
item_123Possible values: [material]
The Product Category ID
The Product Line ID
The Department ID
The Class ID
The Brand ID
Color of the product
Size of the product
Cost Amount
Cost Currency Code. Possible values: See full list here
USDShipment terms
DDPitem LinkedProductrequired
An integrated product reference
Custom Identifier for the Product referred
item_123Possible values: [item, material]
additionalAttributes object[]nullable
Additional custom attributes associated with the purchase order
The identifier of the attribute
value objectrequired
- string
- number
- array
{
"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"
},
{
"item": {
"custom_id": "item_123",
"entity_type": "material",
"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"
},
{
"item": {
"custom_id": "item_123",
"entity_type": "item"
},
"unit_cost": 0,
"unit_cost_currency_code": "USD",
"shipment_term": "DDP"
}
],
"additionalAttributes": [
{
"key": "string",
"value": "string"
}
],
"total_quantity": 100,
"total_quantity_uom_code": "pcs",
"data_provider_custom_id": "data_provider_1",
"custom_id": "opo_1",
"uid": "abc-def-123-456",
"created_date": "2023-02-10",
"client_id": "client_1",
"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",
"vendor_custom_id": "vendor_1",
"material_supplier_custom_id": "material_supplier_1",
"total_cost": 0,
"total_cost_currency_code": "USD",
"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"
}
]
},
{
"carton_quantity": 0,
"packaging_type": "solid",
"item": {
"custom_id": "item_123",
"entity_type": "item",
"case_pack_quantity": 0,
"quantity_uom_code": "m",
"quantity": 0
}
}
]
}