Skip to main content

PurchaseOrderUpdate

clientCreatedDate datenullable

The creation date from the client system of the Purchase Order

Example: 2023-02-10
clientId stringnullable

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

Example: client_1
clientUpdatedDate date-timenullable

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

Example: 2019-02-20T06:37:18Z
commitId stringnullable

Commit ID of the purchase order

Example: commit_id_1
commitPoSequence stringnullable

Commit PO sequence of the purchase order

Example: commit_po_sequence_1
customFields object

Custom fields

customFile1 stringnullable
customFile2 stringnullable
customString1 stringnullable
customString2 stringnullable
customString3 stringnullable
customString4 stringnullable
customString5 stringnullable
customString6 stringnullable
customString7 stringnullable
customString8 stringnullable
customText1 stringnullable
customText2 stringnullable
customTime1 date-timenullable
deliveryDate date-timenullable

Delivery date or shipment start date of the purchase order

Example: 2021-05-23T00:00:00Z
eventName stringnullable

Name of the corresponding event in the client’s system

Example: Event 1
factoryId stringnullable

Local Custom ID of the Factory organization of the purchase order

Example: factory_1
inStoreDate date-timenullable

In store date of the purchase order

Example: 2021-06-01T00:00:00Z
opoNumber stringnullable

Original purchase order number stored in client's system

Example: opo_1
poNumber stringrequired

Purchase order number to be stored in Inspectorio

Possible values: non-empty

Example: po_1
poSource stringnullable

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

Example: domestic
poStatus stringnullable

Status of the purchase order

Possible values: [canceled]

Example: canceled
poType stringnullable

Purchase order type in a pre-configured list

Possible values: non-empty

Example: po_type_1
productLineId stringrequired

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

Possible values: non-empty

Example: product_line_1
productLineName string

Product line Name of the purchase order

Example: Apparel
shareToIds string[]nullable

Local Custom IDs of the shared organizations of the purchase order

Possible values: non-empty

Example: ["sub_org_1"]
shipEndDate date-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 [
  • assortmentId stringrequired

    Possible values: non-empty

    cartonQuantity integerrequired
    items object[]required

    Possible values: >= 1

  • Array [
  • brandId stringnullable

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

    Example: brand_1
    brandName string

    Possible values: non-empty

    classId stringnullable
    Example: class_id_1
    color stringrequired

    Possible values: non-empty

    configuration integerrequired

    Possible values: >= 1

    departmentId stringnullable
    Example: department_id_1
    id stringnullable
    itemId stringrequired

    Possible values: non-empty

    productCategoryId string
    Example: product_category_1
    productCategoryName string

    Possible values: non-empty

    productLineId string

    Possible values: non-empty

    Example: product_line_1
    productLineName string
    quantity integer
    shipmentTerm stringnullable
    Example: shipment_term_1
    size stringrequired

    Possible values: non-empty

  • ]
  • ]
  • productCategoryId stringrequired
    Example: product_category_1
    productCategoryName string

    Possible values: non-empty

    solids object[]nullable
  • Array [
  • brandId stringnullable

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

    Example: brand_1
    brandName string

    Possible values: non-empty

    cartonQuantity integernullable
    casePackQuantity integernullable
    classId stringnullable
    Example: class_id_1
    color stringrequired

    Possible values: non-empty

    departmentId stringnullable
    Example: department_id_1
    id stringnullable
    itemId stringrequired

    Possible values: non-empty

    productCategoryId string
    Example: product_category_1
    productCategoryName string

    Possible values: non-empty

    productLineId string

    Possible values: non-empty

    Example: product_line_1
    productLineName string
    quantity integerrequired

    Possible values: >= 1

    shipmentTerm stringnullable
    Example: shipment_term_1
    size stringrequired

    Possible values: non-empty

  • ]
  • styleId stringrequired

    Possible values: non-empty

    Example: style_1
    styleName stringnullable
  • ]
  • uid stringnullable

    Unique identifier of the purchase order

    Example: abc-def-123-456
    vendorId stringrequired

    Local Custom ID of the Supplier organization of the purchase order

    Possible values: non-empty

    Example: vendor_1
    PurchaseOrderUpdate
    {
    "clientCreatedDate": "2023-02-10",
    "clientId": "client_1",
    "clientUpdatedDate": "2019-02-20T06:37:18Z",
    "commitId": "commit_id_1",
    "commitPoSequence": "commit_po_sequence_1",
    "customFields": {
    "customFile1": "string",
    "customFile2": "string",
    "customString1": "string",
    "customString2": "string",
    "customString3": "string",
    "customString4": "string",
    "customString5": "string",
    "customString6": "string",
    "customString7": "string",
    "customString8": "string",
    "customText1": "string",
    "customText2": "string",
    "customTime1": "2024-07-29T15:51:28.071Z"
    },
    "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"
    }