Skip to main content

Update a price by id

PATCH 

/v2/prices/:id

Update a price by id

Request

Path Parameters

    id stringrequired

    Price identifier

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

Body

required

Update price input

    productId number

    product id

    per numbernullable

    Default value: 1

    The quantity of items that the listed price will purchase

    list number

    The default sales price

    store numbernullable

    The price at which the product is sold in physical stores. This might differ from the standard price due to store-specific deals, overhead costs, or regional pricing strategies

    cost numbernullable

    The cost associated to acquire the product.

    suggested numbernullable

    The manufacturer's or supplier's recommended retail price (RRP) for the product.

    bulkDiscountType stringnullable

    Possible values: [costpriceplus, listpricemin, netprice]

    The method used to apply discounts for bulk prices / volume discounts. One of: [costpriceplus, listpricemin, netprice]

    defaultTaxCode string

    Possible values: [H, L, N]

    `Default tax code of this product One of: [H, L, N]

    display stringnullable

    Possible values: [FROM, FROM_FOR, LISTPRICE_OURPRICE, PACKAGE, PER_UOM, ON_REQUEST, DEFAULT]

    Describes how the price should be displayed on the Front-End One of: [FROM, FROM_FOR, LISTPRICE_OURPRICE, PACKAGE, PER_UOM, ON_REQUEST, DEFAULT]

Responses

Price updated

Schema

    id stringrequired

    Primary identifier

    createdAt date-timerequired

    Creation date

    lastModifiedAt date-timerequired

    Last modified date

Loading...