GET
/shops/{shopId}Get Shop
This endpoint retrieves a list of get shop. Use the available filters and pagination parameters to refine your results.
GET
/shops/{shopId}Mandatory Fields
- shopId
Note
For any technical assistance or feature requests, please contact our API support team.
Important Notes
- Always use HTTPS for API requests.
- Access tokens are valid for a limited time and should be refreshed periodically.
- Rate limiting applies to all endpoints to ensure system stability.
Parameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
shopId | path | integer | Required | The ID of the shop to retrieve. |
- All parameters should be formatted according to the types specified in the table above.
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful retrieval of the shop | Inline |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Unauthorized | None |
| 403 | Forbidden | Forbidden - Access denied | None |
| 404 | Not Found | Shop not found | None |
| 500 | Internal Server Error | Internal Server Error | None |
Response Notes
The response will include a status field indicating success or failure, along with the requested data or relevant error messages. Standard HTTP status codes are used to indicate the outcome of the request.
Example Request
# You can also use wget
curl -X GET /shops/{shopId} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Example responses
200 Response
{
"shopName": "My Shop",
"markets": [
{
"pickupLocation": "US",
"dropLocation": "United States",
"websiteCode": 1,
"cob": "US",
"lor": 1,
"currency": "USD",
"horizon": 30,
"horizonDow": [
1
],
"pickupTime": "10:30",
"dropTime": "10:30"
}
]
}
Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.