GET
/
api
/
products
/
{shop}
curl --request GET \
  --url https://backend.kart.ai/api/products/{shop}/ \
  --header 'X-API-KEY: <x-api-key>'
{
  "store_id": 123,
  "store_name": "<string>",
  "products": [
    {
      "id": 123,
      "name": "<string>",
      "price": 123,
      "description": "<string>",
      "images": [
        "<string>"
      ],
      "url": "<string>",
      "metadata": {},
      "product_type": "<string>"
    }
  ],
  "total_pages": 123,
  "current_page": 123,
  "has_next": true,
  "has_previous": true,
  "items_per_page": 123,
  "total_items": 123,
  "product_type": "<string>"
}

Headers

X-API-KEY
string
required

Path Parameters

shop
string
required

Query Parameters

page
integer
default:
1
per_page
integer
default:
10
product_type
string
default:
all

Response

200
application/json
Successful response
store_id
integer
store_name
string
products
object[]
total_pages
integer
current_page
integer
has_next
boolean
has_previous
boolean
items_per_page
integer
total_items
integer
product_type
string