GET /v1/reseller_stores/{rst_id}/source_stores

List source stores

Returns a list of source stores for the active reseller store.

Returns a list of all source stores belonging to the active reseller store workspace. Results are returned in a Stripe-style list envelope.

Path parameters

rst_id string REQUIRED

Must match activeResellerStoreId in JWT

Responses

200

Request

curl https://api.example.com/v1/reseller_stores/:id/source_stores \
  -H "Authorization: Bearer sk_test_..."

Response

200 200 OK
{
  "object": "example_object",
  "data": [
    {
      "id": "example_id",
      "resellerStoreId": "example_resellerStoreId",
      "name": "example_name",
      "platform": "shopify",
      "shopDomain": "example_shopDomain",
      "vendorTag": "example_vendorTag",
      "pricingMode": "percentage",
      "pricingConfig": {},
      "createdAt": "example_createdAt",
      "deletedAt": "example_deletedAt"
    }
  ],
  "has_more": true,
  "url": "example_url",
  "request_id": "example_request_id"
}