Skip to main content

Update a bulk cost price by id

PATCH 

/v2/bulk-cost-prices/:id

Update a bulk cost price by id

Request

Path Parameters

    id stringrequired

    Bulk cost price identifier

    Example: 018fb9a0-e490-79c8-95de-8424f7b06638

Body

required

Update bulk cost price input

    value decimal

    Discount on bulk purchases, expressed either as a percentage of the standard price or as a specific reduced price per unit, depending on the bulk price discount type

    quantityFrom number

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

    validFrom date-time

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

    validTo date-time

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

Responses

Bulk cost price updated

Schema

    id stringrequired

    Primary identifier

    createdAt date-timerequired

    Creation date

    lastModifiedAt date-timerequired

    Last modified date

    validFrom date-time

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

    validTo date-time

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

Loading...