This is a html view of the json schema please take the json schema as reference DOWNLOAD THE JSON SCHEMA

ProductStocks

Type: object

An array of product stock details based on the facilities

No Additional Properties

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "PATCH"
Type: object

Type: array
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string

branch or location id where the stock exists


Example:

"9554961192345"

Type: integer

the actual quantity of the available stock. field unitOfMeasure must be set if quantity is set

Value must be greater or equal to 0


Example:

14

Type: enum (of string)

the unit of measure in which the product is being sold, This is based on the GS1 standard codes (PCE, MTR, etc.). https://resources.gs1us.org/GS1-US-Data-Hub-Help-Center/ArtMID/3451/ArticleID/116/Unit-of-Measure-Codes
field quantity must be set if unitOfMeasure is set

Must be one of:

  • "FOT"
  • "PCE"
  • "MTR"
  • "KGM"
  • "CMT"
  • "LTR"
  • "EA"
  • "MTK"
  • "PK"
  • "MTQ"
  • "TN"
  • "MLT"
  • "BG"
  • "PR"
  • "RO"
  • "SET"
  • "LN"
  • "ST"
  • "RL"
  • "BX"
  • "CS"
  • "JR"
  • "LBR"
  • "INH"
  • "DZN"
  • "SO"
  • "CL"
  • "CG"
  • "CT"

Example:

"PCE"

Type: object

Minimum and maximum duration in which the product can be delivered to the customer.


Examples:

{
    "min": "P1D",
    "max": "P3D"
}
{
    "min": "P1W",
    "max": "P2W"
}

Type: stringFormat: duration

The minimal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P3D"
"P3W"

Type: stringFormat: duration

The maximal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P5D"
"P5W"

Type: stringFormat: date-time

If the stock is unavailable but it is already confirmed as a purchase order and has a confirmation date for delivery at CDC (required to calculate the lead time), In other case if the product has not been back ordered then opcos could provide information based on general value or use some 3rd party options to compute this time to help calculate the delivery promise


Example:

"2021-10-12T08:30:22.804Z"

Type: boolean Default: "false"

If the stock should not be considered for extended delivery (multi-cdc), then should be sent as 'true'. Default is false that implies that the stock on this facility is available for extended delivery.


Examples:

"false"
"true"
Type: object

Type: array
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string

branch or location id where the stock exists


Example:

"9554961192345"

Type: integer

the actual quantity of the available stock

Value must be greater or equal to 0


Example:

14

Type: enum (of string)

the unit of measure in which the product is being sold, This is based on the GS1 standard codes (PCE, MTR, etc.). https://resources.gs1us.org/GS1-US-Data-Hub-Help-Center/ArtMID/3451/ArticleID/116/Unit-of-Measure-Codes

Must be one of:

  • "FOT"
  • "PCE"
  • "MTR"
  • "KGM"
  • "CMT"
  • "LTR"
  • "EA"
  • "MTK"
  • "PK"
  • "MTQ"
  • "TN"
  • "MLT"
  • "BG"
  • "PR"
  • "RO"
  • "SET"
  • "LN"
  • "ST"
  • "RL"

Type: object

Minimum and maximum duration in which the product can be delivered to the customer.


Examples:

{
    "min": "P1D",
    "max": "P3D"
}
{
    "min": "P1W",
    "max": "P2W"
}

Type: stringFormat: duration

The minimal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P3D"
"P3W"

Type: stringFormat: duration

The maximal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P5D"
"P5W"

Type: stringFormat: date-time

If the stock is unavailable but it is already confirmed as a purchase order and has a confirmation date for delivery at CDC (required to calculate the lead time), In other case if the product has not been back ordered then opcos could provide information based on general value or use some 3rd party options to compute this time to help calculate the delivery promise


Example:

"2021-10-12T08:30:22.804Z"

Type: boolean Default: "false"

If the stock should not be considered for extended delivery (multi-cdc), then should be sent as 'true'. Default is false that implies that the stock on this facility is available for extended delivery.


Examples:

"false"
"true"

Type: string

unique product identifier of the product

Type: enum (of string) Default: "UPSERT"

Action to be taken for the Stock update. If not provided by the OpCo, UPSERT will be used by default

Must be one of:

  • "UPSERT"
  • "PATCH"

Type: array

list of stocks

No Additional Items

Each item of this array must be:


Type: object
No Additional Properties

Type: string

branch or location id where the stock exists


Example:

"9554961192345"

Type: integer

the actual quantity of the available stock

Value must be greater or equal to 0


Example:

14

Type: enum (of string)

the unit of measure in which the product is being sold, This is based on the GS1 standard codes (PCE, MTR, etc.). https://resources.gs1us.org/GS1-US-Data-Hub-Help-Center/ArtMID/3451/ArticleID/116/Unit-of-Measure-Codes

Must be one of:

  • "FOT"
  • "PCE"
  • "MTR"
  • "KGM"
  • "CMT"
  • "LTR"
  • "EA"
  • "MTK"
  • "PK"
  • "MTQ"
  • "TN"
  • "MLT"
  • "BG"
  • "PR"
  • "RO"
  • "SET"
  • "LN"
  • "ST"
  • "RL"

Type: object

Minimum and maximum duration in which the product can be delivered to the customer.


Examples:

{
    "min": "P1D",
    "max": "P3D"
}
{
    "min": "P1W",
    "max": "P2W"
}

Type: stringFormat: duration

The minimal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P3D"
"P3W"

Type: stringFormat: duration

The maximal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P5D"
"P5W"

Type: stringFormat: date-time

If the stock is unavailable but it is already confirmed as a purchase order and has a confirmation date for delivery at CDC (required to calculate the lead time), In other case if the product has not been back ordered then opcos could provide information based on general value or use some 3rd party options to compute this time to help calculate the delivery promise


Example:

"2021-10-12T08:30:22.804Z"

Type: boolean Default: "false"

If the stock should not be considered for extended delivery (multi-cdc), then should be sent as 'true'. Default is false that implies that the stock on this facility is available for extended delivery.


Examples:

"false"
"true"
Type: object

If unit of measure is present then quantity must be set and vice versa

No Additional Properties

Type: string

branch or location id where the stock exists


Example:

"9554961192345"

Type: integer

the actual quantity of the available stock. field unitOfMeasure must be set if quantity is set

Value must be greater or equal to 0


Example:

14

Type: enum (of string)

the unit of measure in which the product is being sold, This is based on the GS1 standard codes (PCE, MTR, etc.). https://resources.gs1us.org/GS1-US-Data-Hub-Help-Center/ArtMID/3451/ArticleID/116/Unit-of-Measure-Codes
field quantity must be set if unitOfMeasure is set

Must be one of:

  • "FOT"
  • "PCE"
  • "MTR"
  • "KGM"
  • "CMT"
  • "LTR"
  • "EA"
  • "MTK"
  • "PK"
  • "MTQ"
  • "TN"
  • "MLT"
  • "BG"
  • "PR"
  • "RO"
  • "SET"
  • "LN"
  • "ST"
  • "RL"
  • "BX"
  • "CS"
  • "JR"
  • "LBR"
  • "INH"
  • "DZN"
  • "SO"
  • "CL"
  • "CG"
  • "CT"

Example:

"PCE"

Type: object

Minimum and maximum duration in which the product can be delivered to the customer.


Examples:

{
    "min": "P1D",
    "max": "P3D"
}
{
    "min": "P1W",
    "max": "P2W"
}

Type: stringFormat: duration

The minimal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P3D"
"P3W"

Type: stringFormat: duration

The maximal duration that this product will take to be delivered to the customer. We use the dur-day and the dur-week of the durations into ISO 8601 ABNF standard https://datatracker.ietf.org/doc/html/rfc3339#appendix-A


Examples:

"P5D"
"P5W"

Type: stringFormat: date-time

If the stock is unavailable but it is already confirmed as a purchase order and has a confirmation date for delivery at CDC (required to calculate the lead time), In other case if the product has not been back ordered then opcos could provide information based on general value or use some 3rd party options to compute this time to help calculate the delivery promise


Example:

"2021-10-12T08:30:22.804Z"

Type: boolean Default: "false"

If the stock should not be considered for extended delivery (multi-cdc), then should be sent as 'true'. Default is false that implies that the stock on this facility is available for extended delivery.


Examples:

"false"
"true"