Distributor API
Get distributor billing code
Path Parameters
billingCodeId*integer
Header Parameters
SW-DISTRIBUTOR-ID*string
SW-API-KEY*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/distributors/billing-codes/0" \ -H "SW-DISTRIBUTOR-ID: string" \ -H "SW-API-KEY: string"{
"id": 42,
"code": "SW-TEST",
"price": 9.99
}{
"success": false,
"error": "Billing code ID must be a number"
}{
"success": false,
"error": "Internal server error"
}{
"success": false,
"error": "Billing code not found"
}{
"success": false,
"error": "Internal server error"
}{
"success": false,
"error": "Internal server error"
}