PATCH client-brand

Used to perform a partial update of a advertiser/brand. Each attribute type/value will be validated to ensure that the data is valid. In order to update the data, there should be no other pending request on the selected advertiser/brand.

Info

Where the term Client is used, this is now a reference to Advertiser

INPUT

As this method is accessed via a PATCH request the raw body must be set to JSON as described below. Note that this is sample input.


{
    "client_id": 6745,
    "brand_id": 2985,
    "categories": [30667,30668]
}
        

The table below details the fields used in this example.

parameter type description
client_id integer ID of an existing advertiser to which the brand being requested is to be linked
brand_id integer ID of an existing brand to which the brand being requested is to be linked
categories array An array of the category IDs related to the brand

OUTPUT - JSON sample


{
    "data": {
        "request_id": 5334
    }
}
        

The request_id can then be used in GET /api/client-brand-status to fetch the status of your request