De acordo com as suas últimas compras

Endpoint

De acordo com as suas últimas compras

get

Recupera os últimos 100 produtos processados do usuário autenticado

Authorizations
Responses
200

Operação bem sucedida

application/json
get
GET /api/product/lasted/list HTTP/1.1
Host: apim.niiw.io
Authorization: Bearer JWT
Accept: */*
[
  {
    "_id": "text",
    "brand": {
      "name": "text",
      "picture": "text"
    },
    "description": "text",
    "thumbnail": "text",
    "price": "text",
    "max_price": 1,
    "min_price": 1,
    "avg_price": 1,
    "category": "text",
    "category_level_0": "text",
    "category_level_1": "text",
    "category_level_2": "text",
    "category_level_3": "text",
    "category_level_4": "text",
    "gtin": "text",
    "gpc": {
      "code": "text",
      "description": "text"
    },
    "ncm": {
      "code": "text",
      "description": "text",
      "full_description": "text"
    },
    "cest": {
      "id": 1,
      "code": "text",
      "description": "text",
      "parent_id": 1
    },
    "payload": {}
  }
]

Exemplo cURL

curl -X 'GET' \
  'https://apim.niiw.io/api/product/lasted/list' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJhbGciOiJI..........'

Exemplo Request Body

[
  {
    "_id": "string",
    "brand": {
      "name": "string",
      "picture": "string"
    },
    "description": "string",
    "thumbnail": "string",
    "price": "string",
    "max_price": 0,
    "min_price": 0,
    "avg_price": 0,
    "category": "string",
    "category_level_0": "string",
    "category_level_1": "string",
    "category_level_2": "string",
    "category_level_3": "string",
    "category_level_4": "string",
    "gtin": "string",
    "gpc": {
      "code": "string",
      "description": "string"
    },
    "ncm": {
      "code": "string",
      "description": "string",
      "full_description": "string"
    },
    "cest": {
      "id": 0,
      "code": "string",
      "description": "string",
      "parent_id": 0
    },
    "payload": {}
  }
]

Last updated