removeSubRetailer method removes a sub-retailer from the terminal.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Integration for more details on how the requests are structured and sent.
- The
methodfield must be set toremoveSubRetailer. - The service must be set to
ashraitin theparams.
Request Parameters
Theparams array contains the service name followed by a dictionary.
| Name | Type | Description |
|---|---|---|
retailerId | string | The ID of the sub-retailer to remove. |
Response
A successful call returns a status code and message.Response Parameters
The result object contains the following fields:| Name | Type | Description |
|---|---|---|
statusCode | integer | The status of the operation. 0 indicates success. |
statusMessage | string | A message describing the status, such as "OK". |