Affiliates
List referred orders
The orders that came through affiliates’ links, newest first, each with what it earned. state is credited (paid, and the commission is on the affiliate’s balance), waiting (not paid yet) or back (refunded or charged back, and the commission taken back).
Needs the affiliates.read permission (Read Affiliates).
GET
Node.js
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Query Parameters
Which page of the list. The first is 1.
How many a page holds.
Only one affiliate's orders, by the affiliate's ID.

