PurchaseOrderPOST
Total quantity of the purchase order, must be non negative
100
Unit of measure code for the total quantity. Possible values: See full list here
pcs
Local Custom ID of the organization that owns item references in this PO
data_provider_1
Original purchase order number stored in client's system
opo_1
Also called po_id. Unique identifier of the purchase order
abc-def-123-456
The creation date from the client system of the Purchase Order
2023-02-10
Local Custom ID of the Brand/Retailer organization of the purchase order
client_1
The last updated date from the client system of the Purchase Order
2019-02-20T06:37:18Z
Commit ID of the purchase order
commit_id_1
Commit PO sequence of the purchase order
commit_po_sequence_1
Delivery date or shipment start date of the purchase order
2021-05-23
Name of the corresponding event in the client's system
Event 1
Local Custom ID of the Factory organization of the purchase order
factory_1
In store date of the purchase order
2021-06-01T00:00:00Z
Purchase order number to be stored in Inspectorio
Possible values: non-empty
po_1
Indicate the source of materials (produced by domestic vendors or imported from vendors outside the country)
domestic
Status of the purchase order
Possible values: [canceled
]
canceled
Purchase order type in a pre-configured list
Possible values: non-empty
po_type_1
Local Custom IDs of the shared organizations of the purchase order
["sub_org_1"]
Shipment end date of the purchase order
2021-05-30T00:00:00Z
Local Custom ID of the Supplier organization of the purchase order
Possible values: non-empty
vendor_1
Local Custom ID of the Material Supplier organization of the purchase order. Required when po_type is material.
Possible values: non-empty
material_supplier_1
Cost Amount
packaging_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_123
Possible 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
m
Quantity 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_123
Possible 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
m
Quantity of the carton
Possible values: >= 1
Possible values: [assortment
, solid
]
- assortment
- solid
items AssortmentPackagedProduct[]
Custom Identifier for the Product referred
item_123
Possible 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
m
Possible values: [assortment
]
item SolidPackagedProductrequired
Custom Identifier for the Item referred
Custom Identifier for the Product referred
item_123
Possible 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
m
Quantity of the product
Possible values: >= 1
lines object[]required
Purchase Order Line information
Possible values: >= 1
- Item
- Material
- LinkedProduct
Cost Amount
Shipment terms
DDP
item ProductItemrequired
Product Item data
Custom Identifier for the Product referred
item_123
Possible values: [item
]
custom_id of the product category
custom_id of the product line
custom_id of the department
custom_id of the class category
custom_id of the brand category
Color of the product
Size of the product
Cost Amount
Shipment terms
DDP
item MaterialItemrequired
Material Item data
Custom Identifier for the Product referred
item_123
Possible values: [material
]
custom_id of the product category
custom_id of the product line
custom_id of the department
custom_id of the class category
custom_id of the brand category
Color of the product
Size of the product
Cost Amount
Shipment terms
DDP
item LinkedProductrequired
An integrated product reference
Custom Identifier for the Product referred
item_123
Possible 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,
"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,
"shipment_term": "DDP"
},
{
"item": {
"custom_id": "item_123",
"entity_type": "item"
},
"unit_cost": 0,
"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,
"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
}
}
]
}