Admin api products

Get product planogram

GET
/api/admin/v2/products/{id}/planogram

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

Id of a product

Query Parameters

storeId?integer

Id of the physical store

withMisplacements?boolean

Whether result should contain misplaced instances of the product

Response Body

application/json

application/json

curl -X GET "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/products/0/planogram?storeId=11"
{
  "gondolasPlanogram": {
    "property1": {
      "productAvailable": true,
      "shelves": {
        "property1": {
          "shelfIndex": 5,
          "coordinates": {
            "dimX": 0,
            "dimY": 0,
            "dimZ": 0,
            "transform": {
              "translation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              },
              "rotation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              }
            }
          },
          "bins": [
            {
              "binSize": 0,
              "productId": 0,
              "productName": "string",
              "productBarcode": "string",
              "thumbnail": "string",
              "restricted": true,
              "productUnits": 0,
              "unplannedProductsUnits": 0,
              "products": [
                {
                  "quantity": 0,
                  "product": {
                    "barcode": "850050071228",
                    "barcodeType": "upc",
                    "productId": 49427929792799,
                    "name": "White Claw Black Cherry",
                    "price": 1,
                    "thumbnail": "http://example.com",
                    "weight": 0,
                    "retailerType": "shopify",
                    "RIN": "string",
                    "restricted": true
                  }
                }
              ]
            }
          ],
          "sizeType": "plate"
        },
        "property2": {
          "shelfIndex": 5,
          "coordinates": {
            "dimX": 0,
            "dimY": 0,
            "dimZ": 0,
            "transform": {
              "translation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              },
              "rotation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              }
            }
          },
          "bins": [
            {
              "binSize": 0,
              "productId": 0,
              "productName": "string",
              "productBarcode": "string",
              "thumbnail": "string",
              "restricted": true,
              "productUnits": 0,
              "unplannedProductsUnits": 0,
              "products": [
                {
                  "quantity": 0,
                  "product": {
                    "barcode": "850050071228",
                    "barcodeType": "upc",
                    "productId": 49427929792799,
                    "name": "White Claw Black Cherry",
                    "price": 1,
                    "thumbnail": "http://example.com",
                    "weight": 0,
                    "retailerType": "shopify",
                    "RIN": "string",
                    "restricted": true
                  }
                }
              ]
            }
          ],
          "sizeType": "plate"
        }
      }
    },
    "property2": {
      "productAvailable": true,
      "shelves": {
        "property1": {
          "shelfIndex": 5,
          "coordinates": {
            "dimX": 0,
            "dimY": 0,
            "dimZ": 0,
            "transform": {
              "translation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              },
              "rotation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              }
            }
          },
          "bins": [
            {
              "binSize": 0,
              "productId": 0,
              "productName": "string",
              "productBarcode": "string",
              "thumbnail": "string",
              "restricted": true,
              "productUnits": 0,
              "unplannedProductsUnits": 0,
              "products": [
                {
                  "quantity": 0,
                  "product": {
                    "barcode": "850050071228",
                    "barcodeType": "upc",
                    "productId": 49427929792799,
                    "name": "White Claw Black Cherry",
                    "price": 1,
                    "thumbnail": "http://example.com",
                    "weight": 0,
                    "retailerType": "shopify",
                    "RIN": "string",
                    "restricted": true
                  }
                }
              ]
            }
          ],
          "sizeType": "plate"
        },
        "property2": {
          "shelfIndex": 5,
          "coordinates": {
            "dimX": 0,
            "dimY": 0,
            "dimZ": 0,
            "transform": {
              "translation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              },
              "rotation": {
                "x": "0.8978",
                "y": "0.0254",
                "z": "2.1645"
              }
            }
          },
          "bins": [
            {
              "binSize": 0,
              "productId": 0,
              "productName": "string",
              "productBarcode": "string",
              "thumbnail": "string",
              "restricted": true,
              "productUnits": 0,
              "unplannedProductsUnits": 0,
              "products": [
                {
                  "quantity": 0,
                  "product": {
                    "barcode": "850050071228",
                    "barcodeType": "upc",
                    "productId": 49427929792799,
                    "name": "White Claw Black Cherry",
                    "price": 1,
                    "thumbnail": "http://example.com",
                    "weight": 0,
                    "retailerType": "shopify",
                    "RIN": "string",
                    "restricted": true
                  }
                }
              ]
            }
          ],
          "sizeType": "plate"
        }
      }
    }
  }
}
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.