PurchaseOrderGET
Total quantity of the purchase order, must be non negative
100
Unit of measure code for the total quantity
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
Cost Amount
packaging_details object[]required
Packaging details information
- AssortmentPackagingDetailLine
- SolidPackagingDetailLine
Possible values: >= 1
Possible values: [assortment
, solid
]
- assortment
- solid
item PackagedProductrequired
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
Possible values: [solid
]
items PackagedProduct[]
Custom Identifier for the Product referred
item_123
Possible values: [item
, material
]
Number of units in a Carton
Possible values: >= 1
Possible values: >= 1
Possible values: [assortment
, solid
]
- assortment
- solid
items PackagedProduct[]
Custom Identifier for the Product referred
item_123
Possible values: [item
, material
]
Number of units in a Carton
Possible values: >= 1
Possible values: [assortment
]
item PackagedProductrequired
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
lines object[]required
Purchase Order Line information
Possible values: >= 1
Cost Amount
Shipment terms
DDP
item components-schemas-Productrequired
Full product data
Custom Identifier for the Product referred
item_123
Possible values: [item
, 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
Possible values: >= 1
additionalAttributes object[]
Additional custom attributes associated with the purchase order
The type of the attribute (str, num, dte, etc)
The identifier of the attribute
value objectrequired
- MOD1
- MOD2
- MOD3
{
"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"
},
"quantity": 0,
"unit_cost": 0,
"shipment_term": "DDP"
}
],
"additionalAttributes": [
{
"key": "string",
"value": "string"
}
],
"total_quantity": 100,
"total_quantity_uom_code": "pcs",
"dataProviderCustomId": "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",
"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
}
]
},
{
"carton_quantity": 0,
"packaging_type": "solid",
"item": {
"custom_id": "item_123",
"entity_type": "item",
"case_pack_quantity": 0
}
}
]
}