Beta
Not authenticated — log in first
VendorBulk Operations

Bulk Export

GET /vendor/products/export — Export product price and stock with cursor pagination.

GET/vendor/products/exportVendor bearer token required

Bulk Export

Export product price and stock with cursor-based pagination.

What this means in plain English

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

NameTypeRequiredDescription
firstintegerNoNumber of products to return (default 100, max 100).
afterstringNoOpaque cursor — pass pageInfo.endCursor from the previous page for the next page.
beforestringNoOpaque cursor for backward pagination (use with last).
lastintegerNoNumber of products when paginating backward (max 100).

Request example

curl -X GET 'https://api.next.gcommerce.glass/api/v1/vendor/products/export'

Response examples

200Success
{
  "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

200

OK

Request succeeded.

401

Unauthorized

Missing or invalid bearer token.

403

Forbidden

Insufficient permissions for this action.

400

Bad Request

Validation failed or invalid parameters.

404

Not Found

Resource not found.

429

Too Many Requests

Global rate limit exceeded (10,000 requests per 10 minutes per IP).

500

Internal Server Error

Unexpected server error.

403

Forbidden

No vendor membership, or insufficient vendor role (requires OWNER, ADMIN, or EDITOR for write operations).

Uses the same cursor pagination model as [List Products](/docs/v1/vendor/products/list) — see [Pagination](/docs/v1/pagination).
Loop with `?first=100&after=<endCursor>` until `pageInfo.hasNextPage` is false.
company_id maps to your vendor UUID.
Products are ordered by `createdAt` descending (newest first).

Try it

Uses your saved session from login. Edit values and send a live request, or copy the cURL command.