Your store's APIApps referenceReseller suppliers
List Supplier Links
GET
/admin/supplier-linksThe store's variants delivered from a supplier the seller resells for. unitPriceMinor is what a key costs from the supplier, in supplier.currency; variantPriceMinor is what the store sells the variant for, in the store's currency. Compare them only in one currency.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/supplier-links"[ { "variantId": "string", "supplier": { "storeId": "string", "name": "string", "currency": "AED", "storefrontUrl": "string" }, "skuId": "string", "skuName": "string", "unitPriceMinor": 0, "variantPriceMinor": 0, "availability": { "_tag": "Available" }, "createdAt": "string", "updatedAt": "string" }]List Supplier Downlines GET
For each reseller account the store buys a supplier's keys as, how many resellers sell under it at that supplier: every level below it, and those it invited itself. None when the store sells no supplier's product.
Remove Supplier Link DELETE
Stops delivering the variant from its supplier. Orders already being delivered finish through the supplier they started with.
