1. Home
  2. API v2.0
  3. Pricing Tiers
  4. Edit Pricing Tier

Edit Pricing Tier

Method: /pricing_tiers/[id].[format]

Fields:

Name Data Type Description
name String Pricing Tier name

Syntax

https://[subdomain].salesbinder.com/api/2.0/pricing_tiers/[id].json

HTTP Request Type: PUT

Example JSON Data to Submit

{
    "pricing_tier":
        {
            "name": "Wholesaler"
        }
}

Success

If you have been successful in updating a 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_tier": {
        "id": "5a8bbf97-bb2c-4f18-b7b8-052e0a8e0004",
        "name": "Wholesaler"
    }
}

Example XML Data to Submit

<?xml version="1.0" encoding="UTF-8" ?>
<response>
    <message>Saved</message>
    <pricing_tier>
        <name>Wholesaler</name>
        <id>a9994c34-c1cd-4e0e-8912-f9f47847578e</id>
    </pricing_tier>
</response>
Was this article helpful to you? Yes No