Skip to main content

Update a product from default catalog of a supplier

PATCH 

/api/v1/supplier_products/:id

Update a product from default catalog of a supplier

Request

Path Parameters

    id int32required

Body

required

    data

    object

    id stringrequired
    type stringrequired

    Possible values: [supplier_products]

    attributes

    object

    name string
    name_fr string
    name_de string
    name_it string
    name_es string
    name_el string
    price_per_unit_cents int32

    Price in cents

    is_available
    sku_ref string
    description string
    description_fr string
    description_de string
    description_it string
    description_es string
    description_el string
    units string
    image binary
    selling_price_cents int32
    ordering-deadline
    ordering-lead-time
    specifications object

    Object containing Product specifications, the format should be

    {
    "specification_group_A": {
    "specification_x": "value_x",
    "specification_y": "value_y",
    "specification_z": "value_z"
    },
    "specification_group_B": {
    "specification_q": "value_q",
    "specification_w": "value_w"
    }
    }
    product_category string

    (DEPRECATED - use relationship supplier_product_category) Product Category name

    relationships

    object

    supplier_product_category

    object

    data

    object

    type stringrequired

    Possible values: [supplier_product_category]

    id stringrequired

    Related SupplierProductCategory ID

Responses

Update a product from default catalog of a supplier

Schema

    data

    object[]

    required

  • Array [

  • id string
    type string

    attributes

    object

    description string
    description-en string
    description-fr string
    description-de string
    description-it string
    description-es string
    description-el string
    image binary
    is-available boolean

    Possible values: [true, false]

    name string
    name-en string
    name-fr string
    name-de string
    name-it string
    name-es string
    name-el string
    price-per-unit-cents integer

    Price of one unit in the package that the product is being sold in

    selling-price-cents integer

    Price of the product (per package sold)

    price-in-cents integer

    Price of the product for a specific business

    sku-ref integer
    specifications object
    supplier-name string
    supplier-id string
    open-quantity float
    fixed-quantity integer
    quantity-type string
    units string
    from-custom-catalog boolean

    Possible values: [true, false]

    ordering-deadline integer
    ordering-lead-time integer
  • ]

Loading...