Stores
Scope: visitor
and above
This endpoint retrieves information about stores in the Apparel21.
The endpoint can accept particular Shopify location ID. If a location ID is provided, the endpoint will only look up the stores that are associated with the location.
The endpoint returns a list of object that includes information such as the store id, store number, address and contact details.
The Shopify location ID
An alias name that represents a particular brand that is using the API
GET /stores HTTP/1.1
Host:
Authorization: Basic username:password
X-DotApparel-Name: text
shop: text
Accept: */*
{
"data": [
{
"storeId": 1001,
"storeNumber": 123,
"code": "EXAMPLE_STORE_CODE",
"address1": "111 Cecil St",
"address2": "Level 5",
"city": "South Melbourne",
"state": "VIC",
"country": "Australia",
"postcode": 3205,
"name": "Example Store",
"email": "[email protected]",
"shopifyLocationId": 1234567
}
]
}
Scope: visitor
and above
This endpoint retrieves information about a single store in the Apparel21 system by accepting a required store number parameter.
The endpoint checks that the store number is valid and associated with an existing store record. If the store number is valid, the endpoint retrieves the store's ID, store number, address, and contact information.
The Apparel21 store number
An alias name that represents a particular brand that is using the API
GET /stores/{store_number} HTTP/1.1
Host:
Authorization: Basic username:password
X-DotApparel-Name: text
shop: text
Accept: */*
{
"data": {
"storeId": 1001,
"storeNumber": 123,
"code": "EXAMPLE_STORE_CODE",
"address1": "111 Cecil St",
"address2": "Level 5",
"city": "South Melbourne",
"state": "VIC",
"country": "Australia",
"postcode": 3205,
"name": "Example Store",
"email": "[email protected]",
"shopifyLocationId": 1234567
}
}
Last updated
Was this helpful?