PUT
/shopUpdate Shop
Update Shop
Implementation Notes
This endpoint enables you to update the existing configuration by using the shopId.
PUT
/shopParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
body | body | object | Required | none |
» shopId | body | number | Required | none |
» name | body | string | Optional | none |
» horizon | body | number | Optional | none |
» horizonExpression | body | string | Optional | none |
» horizonRange | body | string | Optional | none |
» market | body | string | Optional | none |
» websiteCode | body | number | Optional | none |
» shopType | body | number | Optional | none |
» destId | body | string | Optional | none |
» destType | body | string | Optional | none |
» city | body | string | Optional | none |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Authentication Failed or Account validity Expired | None |
| 429 | Too Many Requests | Too Many Requests | None |
| 500 | Internal Server Error | Internal Server Error | None |
Example Request
# You can also use wget
curl -X PUT /shop \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Body parameter
{
"shopId": 0,
"name": "string",
"horizon": 0,
"horizonExpression": "",
"horizonRange": "",
"market": "string",
"websiteCode": 0,
"shopType": 0,
"destId": "string",
"destType": "string",
"city": ""
}
Example responses
200 Response
{
"message": "Shop Updated Successfully",
"shopId": 0
}
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.