Skip to main content

PurchaseOrderForm

clientCreatedDatedatenullable

The creation date from the client system of the Purchase Order

Example: 2023-02-10
clientIdstringnullable

Local Custom ID of the Brand/Retailer organization of the purchase order

Example: client_1
clientUpdatedDatedate-timenullable

The last updated date from the client system of the Purchase Order

Example: 2019-02-20T06:37:18Z
commitIdstringnullable

Commit ID of the purchase order

Example: commit_id_1
commitPoSequencestringnullable

Commit PO sequence of the purchase order

Example: commit_po_sequence_1
deliveryDatedate-timenullable

Delivery date or shipment start date of the purchase order

Example: 2021-05-23T00:00:00Z
eventNamestringnullable

Name of the corresponding event in the client’s system

Example: Event 1
factoryIdstringnullable

Local Custom ID of the Factory organization of the purchase order

Example: factory_1
inStoreDatedate-timenullable

In store date of the purchase order

Example: 2021-06-01T00:00:00Z
opoNumberstringnullable

Original purchase order number stored in client's system

Example: opo_1
poNumberstringrequired

Purchase order number to be stored in Inspectorio

Possible values: non-empty

Example: po_1
poSourcestringnullable

Indicate the source of materials (produced by domestic vendors or imported from vendors outside the country)

Example: domestic
poStatusstringnullable

Status of the purchase order

Possible values: [canceled]

Example: canceled
poTypestringnullable

Purchase order type in a pre-configured list

Possible values: non-empty

Example: po_type_1
productLineIdstringrequired

Product Line ID of the purchase order which must be pre-configured in Inspectorio

Possible values: non-empty

Example: product_line_1
productLineNamestring

Product line Name of the purchase order

Example: Apparel
shareToIdsstring[]nullable

Local Custom IDs of the shared organizations of the purchase order

Possible values: non-empty

Example: ["sub_org_1"]
shipEndDatedate-timenullable

Shipment end date of the purchase order

Example: 2021-05-30T00:00:00Z
styles object[]required

Style information in the purchase order

Possible values: >= 1

  • Array [
  • assortments object[]nullable
  • Array [
  • assortmentIdstringrequired

    Possible values: non-empty

    cartonQuantityintegerrequired
    items object[]required

    Possible values: >= 1

  • Array [
  • brandIdstringnullable

    Precondition: must be configured in your Inspectorio's account.

    Example: brand_1
    brandNamestring

    Possible values: non-empty

    classIdstringnullable
    Example: class_id_1
    colorstringrequired

    Possible values: non-empty

    configurationintegerrequired

    Possible values: >= 1

    departmentIdstringnullable
    Example: department_id_1
    idstringnullable
    itemIdstringrequired

    Possible values: non-empty

    productCategoryIdstring
    Example: product_category_1
    productCategoryNamestring

    Possible values: non-empty

    productLineIdstring

    Possible values: non-empty

    Example: product_line_1
    productLineNamestring
    quantityinteger
    shipmentTermstringnullable
    Example: shipment_term_1
    sizestringrequired

    Possible values: non-empty

  • ]
  • ]
  • productCategoryIdstringrequired
    Example: product_category_1
    productCategoryNamestring

    Possible values: non-empty

    solids object[]nullable
  • Array [
  • brandIdstringnullable

    Precondition: must be configured in your Inspectorio's account.

    Example: brand_1
    brandNamestring

    Possible values: non-empty

    cartonQuantityintegernullable
    casePackQuantityintegernullable
    classIdstringnullable
    Example: class_id_1
    colorstringrequired

    Possible values: non-empty

    departmentIdstringnullable
    Example: department_id_1
    idstringnullable
    itemIdstringrequired

    Possible values: non-empty

    productCategoryIdstring
    Example: product_category_1
    productCategoryNamestring

    Possible values: non-empty

    productLineIdstring

    Possible values: non-empty

    Example: product_line_1
    productLineNamestring
    quantityintegerrequired

    Possible values: >= 1

    shipmentTermstringnullable
    Example: shipment_term_1
    sizestringrequired

    Possible values: non-empty

  • ]
  • styleIdstringrequired

    Possible values: non-empty

    Example: style_1
    styleNamestringnullable
  • ]
  • uidstringnullable

    Unique identifier of the purchase order

    Example: abc-def-123-456
    vendorIdstringrequired

    Local Custom ID of the Supplier organization of the purchase order

    Possible values: non-empty

    Example: vendor_1
    PurchaseOrderForm
    {
    "clientCreatedDate": "2023-02-10",
    "clientId": "client_1",
    "clientUpdatedDate": "2019-02-20T06:37:18Z",
    "commitId": "commit_id_1",
    "commitPoSequence": "commit_po_sequence_1",
    "deliveryDate": "2021-05-23T00:00:00Z",
    "eventName": "Event 1",
    "factoryId": "factory_1",
    "inStoreDate": "2021-06-01T00:00:00Z",
    "opoNumber": "opo_1",
    "poNumber": "po_1",
    "poSource": "domestic",
    "poStatus": "canceled",
    "poType": "po_type_1",
    "productLineId": "product_line_1",
    "productLineName": "Apparel",
    "shareToIds": [
    "sub_org_1"
    ],
    "shipEndDate": "2021-05-30T00:00:00Z",
    "styles": [
    {
    "assortments": [
    {
    "assortmentId": "string",
    "cartonQuantity": 0,
    "items": [
    {
    "brandId": "brand_1",
    "brandName": "string",
    "classId": "class_id_1",
    "color": "string",
    "configuration": 0,
    "departmentId": "department_id_1",
    "id": "string",
    "itemId": "string",
    "productCategoryId": "product_category_1",
    "productCategoryName": "string",
    "productLineId": "product_line_1",
    "productLineName": "string",
    "quantity": 0,
    "shipmentTerm": "shipment_term_1",
    "size": "string"
    }
    ]
    }
    ],
    "productCategoryId": "product_category_1",
    "productCategoryName": "string",
    "solids": [
    {
    "brandId": "brand_1",
    "brandName": "string",
    "cartonQuantity": 0,
    "casePackQuantity": 0,
    "classId": "class_id_1",
    "color": "string",
    "departmentId": "department_id_1",
    "id": "string",
    "itemId": "string",
    "productCategoryId": "product_category_1",
    "productCategoryName": "string",
    "productLineId": "product_line_1",
    "productLineName": "string",
    "quantity": 0,
    "shipmentTerm": "shipment_term_1",
    "size": "string"
    }
    ],
    "styleId": "style_1",
    "styleName": "string"
    }
    ],
    "uid": "abc-def-123-456",
    "vendorId": "vendor_1"
    }