Admin api products

List products snapshots

GET
/api/admin/v2/products/snapshots

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

pageSize?integer

Page size

page?integer

Page number

time?string

timestamp

Formatdate-time
productId?|array<>

Product ID or array of Product IDs

name?string

Case insensitive

Response Body

application/json

application/json

curl -X GET "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/products/snapshots?pageSize=10&page=0"
{
  "data": [
    {
      "name": "string",
      "price": "string",
      "barcode": "string",
      "category": "string",
      "thumbnail": "string",
      "weight": 0,
      "sku": "string",
      "externalId": "string",
      "taxCode": "string",
      "id": 0,
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "productId": "string"
    }
  ]
}
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.