1. Home
  2. API v2.0
  3. Pricing Tiers
  4. Update Item Price

Update Item Price

Method: /pricing_tiers/updateItemPrice/[item_id]/[pricing_tier_id].[format]

Fields:

Name Data Type Description
value decimal Item price for this pricing tier

Syntax

https://[subdomain].salesbinder.com/api/2.0/pricing_tiers/updateItemPrice/[item_id]/[pricing_tier_id].json

HTTP Request Type: PUT

Example JSON Data to Submit

{
    "pricing_detail": 
        {
            "value": 19.99
        }
}

Success

If you have been successful in updating an item’s price for the specific pricing tier, the response will return the updated data object along with a “message” value of “Saved” as seen below.

Example JSON Returned Response

{
    "message": "Saved",
    "pricing_detail": {
        "id": "d58b3347-0b43-42c0-8f56-7cb4e8d2ddd8",
        "value": 19.99
    }
}

Example XML Data to Submit

<?xml version="1.0" encoding="UTF-8" ?>
<response>
    <message>Saved</message>
    <pricing_detail>
        <id>a9994c22-c1cd-4e0e-8912-f9f47847578e</id>
        <value>19.99</value>
    </pricing_detail>
</response>
Was this article helpful to you? Yes No