Skip to main content
GET
/
v1
/
partner
/
products
List partner products
curl --request GET \
  --url http://localhost:3000/v1/partner/products
{
  "products": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "brand": "<string>",
      "description": "<string>",
      "barcode": "<string>",
      "size": "<string>",
      "image_url": "<string>",
      "retail_price": 123,
      "temperature_zone": "ambient",
      "scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "approval_status": "pending",
      "rejection_reason": "<string>",
      "commission_rate": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer | null
default:0
Required range: x >= 0
status
enum<string>
default:all
Available options:
all,
pending,
approved,
rejected

Response

List of products

products
object[]
required
total
number
required