Revenue sharing

A contributor with their shares, earnings, payments and adjustments

GET
/v1/stores/{storeId}/revenue-share/contributors/{contributorId}

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
contributorId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/revenue-share/contributors/string"
{  "contributor": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",    "email": "string",    "name": "string",    "payoutDetails": "string",    "status": "active",    "products": -9007199254740991,    "owed": [      {        "currency": "string",        "amountMinor": -9007199254740991      }    ],    "createdAt": "string"  },  "shares": [    {      "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",      "productName": "string",      "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",      "variantName": "string",      "shareBp": -9007199254740991    }  ],  "allocations": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",      "orderNumber": -9007199254740991,      "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",      "productName": "string",      "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",      "shareBp": -9007199254740991,      "currency": "string",      "baseMinor": -9007199254740991,      "amountMinor": -9007199254740991,      "reversedMinor": -9007199254740991,      "state": "earned",      "createdAt": "string"    }  ],  "payouts": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "amountMinor": -9007199254740991,      "currency": "string",      "reference": "string",      "note": "string",      "createdBy": "string",      "createdAt": "string"    }  ],  "adjustments": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "amountMinor": -9007199254740991,      "currency": "string",      "reason": "string",      "createdBy": "string",      "createdAt": "string"    }  ]}