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**
      "childSkus": [
        {
          "channelSkuCode": "SKU1",
          "qty": 2,
          "barcode":null**
        },
        {
          "channelSkuCode": "SKU2",
          "qty": 1,
          "barcode":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

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

HttpStatus : 200