Resellers

What a connect link would import (does not use the link)

GET
/v1/stores/{storeId}/reseller-connections/preview

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

supplierStoreId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
token*string
Length10 <= length <= 300

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/reseller-connections/preview?supplierStoreId=497f6eca-6276-4993-bfeb-53cbbbba6f08&token=stringstri"
{  "supplierName": "string",  "supplierLogoUrl": "string",  "currency": "string",  "balanceMinor": -9007199254740991,  "topUpUrl": "string",  "tierName": "string",  "tierDiscountBp": -9007199254740991,  "expiresAt": "string",  "connectedHere": true,  "connectedElsewhere": true,  "products": [    {      "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",      "name": "string",      "imageUrl": "string",      "currency": "string",      "purchasable": true,      "blocker": "string",      "variants": [        {          "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",          "name": "string",          "retailMinor": -9007199254740991,          "wholesaleMinor": -9007199254740991,          "discountBp": -9007199254740991,          "stock": -9007199254740991,          "minQty": -9007199254740991,          "maxQty": -9007199254740991,          "dynamicUrl": "string"        }      ]    }  ]}