Admin api stores
Update specified gondola
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
storeId*integer
Id of a physical store. The id is required when retailer want to make a call to specified store.
gondolaId*integer
Id of a gondola
Request Body
application/json
name?string
Name of the gondola
disabled?boolean
Whether disable the gondola
coordinates?
Update the coordinates of specified gondola
Response Body
application/json
application/json
curl -X PATCH "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/stores/0/gondolas/2" \ -H "Content-Type: application/json" \ -d '{}'{
"id": 2,
"name": "string",
"disabledAt": "2019-08-24T14:15:22Z",
"shelves": [
{
"id": "2-5",
"shelfIndex": 5
}
]
}Empty
{
"message": "Invalid request body",
"type": "E_INVALID_BODY",
"errors": [
{
"error": "\"email\" is required",
"rule": "any.required",
"field": "\"email\""
}
]
}How is this guide?