Skip to main content

Create or update bulk discounts for pricesheet

POST 

/v2/discounts/bulk

Create or update bulk discounts for pricesheet

Request

Header Parameters

    tenant stringrequired

    Tenant identifier

Body

array

required

Discounts bulk input, please use either productId or productSource or categoryId or categorySource.

  • Array [

  • pricesheetId stringrequired

    Pricesheet id

    productId numbernullable

    Product id

    productSource objectnullable

    Product source

    categoryId numbernullable

    Category id

    categorySource objectnullable

    Category source

    priceGroup stringnullable

    Pricegroup

    value numberrequired

    Discount value

    discountType stringrequired

    Possible values: [costpriceplus, listpricemin, netprice]

    Discount type One of: [costpriceplus, listpricemin, netprice]

    quantityFrom numberrequired

    Indicates the minimum quantity threshold needed to qualify for the bulk price.

    validFrom date-timenullable

    Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string

    validTo date-timenullable

    End date of the bulk pricing offer. Must be a valid ISO 8601 date string

  • ]

Responses

Discounts created

Schema

    created integernullablerequired

    Number of created items

    updated integernullablerequired

    Number of updated items

    total integernullablerequired

    Total number of created and updated items

Loading...