Admin api stores

Set shelf planogram

PUT
/api/admin/v2/stores/{storeId}/planogram/{gondolaId}

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

shelfIndex*integer

Index of a shelf

bins*array<>
sizeType?string
Default"plate"
Value in"plate" | "meters"

Response Body

application/json

curl -X PUT "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/stores/0/planogram/2" \  -H "Content-Type: application/json" \  -d '{    "shelfIndex": 5,    "bins": [      {        "size": 0,        "productId": 0      }    ]  }'
Empty
Empty
{
  "message": "Invalid request body",
  "type": "E_INVALID_BODY",
  "errors": [
    {
      "error": "\"email\" is required",
      "rule": "any.required",
      "field": "\"email\""
    }
  ]
}

How is this guide?

AiFI AI Chat

Beta

Powered by AiFi

Ask docs or API questions to get grounded answers.