Linking Consolidators with Retailers

Required Permission

can-update-retailers

See Auth* (scopes).

Request

POST /retailers/:retailerId/consolidators/:consolidatorId  HTTP/1.1

Response

HTTP/1.1 201 CREATED
{
  "rel": "self",
  "href":"/retailers/00357362-3219-476e-87cd-4c05b1d1ce02/consolidators"
}

Failure

Request error; e.g. invalid JSON object:

HTTP/1.1 400 BAD REQUEST

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Consolidator id does not exist:

HTTP/1.1 404 NOT FOUND

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""