Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inbound | POST | /master/virtual-sku

...

Code Block
languagejson
{
  "virtualSkuDefinitions": [
    {
      "virtualParentChannelSkuId": "virtual1",
      "virtualParentBarcode":null**, 
      "virtualParentClientSkuCode":"VPClientSkuCode1"
      "childSkus": [
        {
          "channelSkuCode": "SKU1",
          "qty": 2,
          "barcode":null**,
          "clientSkuCode":"ClientSku1"
        },
        {
          "channelSkuCode": "SKU2",
          "qty": 1,
          "barcode":null**,
          "clientSkuCode":null
        }
      ]
    }
  ]
}

...

Parameter Name

Data Type

Description

Mandatory

virtualSkuDefinitions

Object [ ]

List of virtual SKU definitions

yes

virtualSkuDefinitions.virtualParentChannelSkuId

String

SKU code of virtual SKU

yes

virtualSkuDefinitions.virtualParentBarcode

String

Parent SKU barcode identifier

no

virtualSkuDefinitions.virtualParentClientSkuCode

String

Code to uniquely identify a virtual parent sku at client level

no

virtualSkuDefinitions.childSkus

Object [ ]

List of child SKUs

yes

childSkus.channelSkuCode

String

SKU code of child SKU

yes

childSkus.qty

Integer

Quantity of child SKU

yes

childSkus.barcode

String

Child SKU barcode identifier

no

childSkus.clientSkuCode

String

Code to uniquely identify a child sku at client level

no

...