Trade Pricing Band

This is used to view, create, update and delete trade pricing bands.

Trade Pricing Band Properties
id { "id" : 255 }
The unique ID of the trade pricing band
title { "title" : "Pricing band A" }
The name of the trade pricing band
products { "products" : [ { "id": 1234, "price": 99.99, "sku": "SKU123" } ] }
The products and their pricing in the pricing band
The sku should only be set when setting the price for a variation

What you can do with Trade Pricing Bands

GET /v1/trade-groups

Receive a list of trade pricing bands


GET /v1/trade-groups/ID

Receive a trade pricing band


POST /v1/trade-groups

Create a new pricing band


PUT /v1/trade-groups/ID

Update a trade pricing band


DELETE /v1/trade-groups/ID

Delete a trade pricing band


GET /v1/trade-groups

Returns all trade pricing bands. By default the first 50 pricing bands are returned

GET /v1/trade-groups
HTTP/1.1 200 OK
[
    {
        "id": 3,
        "title": "Group A"
    },
    {
        "id": 98,
        "title": "Group B"
    }
]
        

GET /v1/trade-groups/ID

Returns a trade pricing band.

GET /v1/trade-groups/98
HTTP/1.1 200 OK
{
    "id": 98,
    "title": "Group B",
    "products": [
        {
            "id": 1698658,
            "sku": "LP25441PU",
            "price": 20
        },
        {
            "id": 2394354,
            "sku": "",
            "price": 10
        }
    ]
}
        

POST /v1/customers

Creates a new trade pricing band.

POST /v1/trade-groups
POST /v1/trade-groups
{
    "title": "Group C",
    "products": [
        {
            "id": 1693859,
            "sku": "SKO3880",
            "price": 19.59
        },
        {
            "id": 1693859,
            "sku": "SKU03881",
            "price": 29.59
        }
    ]
}
        
POST /v1/trade-groups
HTTP/1.1 201 Created
{
    "id": 109,
    "title": "Group C",
    "products": [
        {
            "id": 1693859,
            "sku": "SKO3880",
            "price": 19.59
        },
        {
            "id": 1693859,
            "sku": "SKU03881",
            "price": 29.59
        }
    ]
}
        

PUT /v1/trade-groups/ID

Update a trade pricing band.

PUT /v1/trade-groups/98
PUT /v1/trade-groups/98
{
    "id": 98,
    "title": "Group B",
    "products": [
        {
            "id": 1698658,
            "sku": "LP25441PU",
            "price": 22.50
        },
        {
            "id": 2394354,
            "sku": "",
            "price": 12.50
        }
    ]
}
        
PUT /v1/trade-groups/98
HTTP/1.1 200 OK
{
    "id": 98,
    "title": "Group B",
    "products": [
        {
            "id": 1698658,
            "sku": "LP25441PU",
            "price": 22.50
        },
        {
            "id": 2394354,
            "sku": "",
            "price": 12.50
        }
    ]
}
        

DELETE /v1/trade-groups/98

Deletes an existing trade pricing band.

Returns 204 No Content on success.