Bulk Export
GET /vendor/products/export — Export product price and stock with cursor pagination.
/vendor/products/exportVendor bearer token requiredBulk Export
Export product price and stock with cursor-based pagination.
Returns product_id, product_code, vendor_price, and stock amount for your vendor catalog. Use first/after cursors from pageInfo to walk the full catalog (max 100 items per request, default 100).
When to use this
- Syncing catalog snapshots to external systems.
- Auditing price and stock levels.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| first | integer | No | Number of products to return (default 100, max 100). |
| after | string | No | Opaque cursor — pass pageInfo.endCursor from the previous page for the next page. |
| before | string | No | Opaque cursor for backward pagination (use with last). |
| last | integer | No | Number of products when paginating backward (max 100). |
Request example
curl -X GET 'https://api.next.gcommerce.glass/api/v1/vendor/products/export'Response examples
{
"products": [
{
"company_id": "550e8400-e29b-41d4-a716-446655440010",
"product_id": "550e8400-e29b-41d4-a716-446655440020",
"product_code": "SKU1",
"vendor_price": "1.00",
"amount": "1"
}
],
"pageInfo": {
"startCursor": "MjAyNi0wMS0xNVQxMjowMDowMC4wMDBafDU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMA==",
"endCursor": "MjAyNS0xMi0wMVQxMDowMDowMC4wMDBafDU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAxMA==",
"hasNextPage": true,
"hasPreviousPage": false
},
"estimatedTotalCount": 7
}Status codes
OK
Request succeeded.
Unauthorized
Missing or invalid bearer token.
Forbidden
Insufficient permissions for this action.
Bad Request
Validation failed or invalid parameters.
Not Found
Resource not found.
Too Many Requests
Global rate limit exceeded (10,000 requests per 10 minutes per IP).
Internal Server Error
Unexpected server error.
Forbidden
No vendor membership, or insufficient vendor role (requires OWNER, ADMIN, or EDITOR for write operations).
Try it
Uses your saved session from login. Edit values and send a live request, or copy the cURL command.