Distributor API
List distributor billing codes
Query Parameters
page?integer
Range
1 <= valueDefault
1per_page?integer
Range
1 <= value <= 100Default
10Header Parameters
SW-DISTRIBUTOR-ID*string
SW-API-KEY*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/distributors/billing-codes" \ -H "SW-DISTRIBUTOR-ID: string" \ -H "SW-API-KEY: string"{ "success": true, "data": [ { "id": 1, "code": "SW-A", "price": 2.5 }, { "id": 2, "code": "SW-B", "price": 3 } ], "pagination": { "total_count": 40, "has_next_page": true, "page": 1, "per_page": 10 }}