Deleting Retailers

Required Permission

can-delete-retailers

See Auth* (scopes).

Request

DELETE /retailers/:id HTTP/1.1
Authorization: Bearer <bearer token>

Path Parameters

  • id: retailer ID

Response

HTTP/1.1 200 OK

Failure

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Retailer id doesn't exist:

HTTP/1.1 404 NOT FOUND

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""