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

Add Pricing Tier

Method: /pricing_tiers.[format]

Fields:

Name Data Type Description
name String Pricing Tier Name

Syntax

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

HTTP Request Type: POST

Example JSON Data to Submit

{
    "pricing_tier":
        {
            "name": "Wholesale"
        }
}

Success

If you have been successful in saving a new pricing tier, the response will return the newly created data object along with a “message” value of “Saved” as seen below.

Example JSON Returned Response

{
    "message": "Saved",
    "pricing_tier": {
        "name": "Wholesale",
        "id": "84554833-ce4c-4fc0-a720-fc57b458ab20"
    }
}

Example XML Data to Submit

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