GET Branch/ecomm_allbycustomer?id={id}
Gets data of all branches enabled for the ecommerce and linked to a customer.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
ID of a Customer. |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Array of branches data received and processed
Collection of BranchName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
name | string |
None. |
|
ecomm_name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel"> <Branch> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> </Branch> <Branch> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> </Branch> </ArrayOfBranch>