Skip to main content

Create Option Product

POST 

/clusters/:lookupKey/:lookupValue/products

> The same endpoints for option products are used as the cluster products, with a difference that option id is used in lookupValue variable instead if cluster id

Use this endpoint to create a single product to the option. If a option product is successfully created, the response will include the productid.

Request

Path Parameters

    lookupKey stringrequired

    Lookup key. Read more about cluster lookup keys

    lookupValue stringrequired

    The value of the key (id or sourceId)

Body

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • eanCode string
    language string
    manufacturer string
    minimumQuantity number

    names

    object[]

  • Array [

  • language string
    value string
  • ]

  • notes

    object[]

  • Array [

  • language string
    value string
  • ]

  • oemCode string
    package string

    packageDescriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • shortDescriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • shortName string
    sku string
    source string
    sourceId string
    status string
    supplier string
    supplierCode string
    taxCode string
    unit number

Responses

Create Option Product - 201 / Create Cluster Product - 201

Response Headers

  • Alt-Svc

    string

  • Content-Length

    string

  • Via

    string

  • alt-svc

    string

  • date

    string

  • return-format

    string

  • x-request-id

    string

Schema

    data

    object

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • eanCode string
    id number
    language string
    manufacturer string
    minimumQuantity number

    names

    object[]

  • Array [

  • language string
    value string
  • ]

  • notes

    object[]

  • Array [

  • language string
    value string
  • ]

  • oemCode string
    package string

    packageDescriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • shortDescriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • shortName string
    sku string
    source string
    sourceId string
    status string
    supplier string
    supplierCode string
    taxCode string
    unit number
    messages string[]
    total number
Loading...