POST /resellers.json

POST /resellers.json
application/json

Body Required

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
POST /resellers.json
curl \
 -X POST http://api.example.com/v1/resellers.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"accountType":"reseller","addressLineOne":"string","addressLineTwo":"string","city":"string","country":"string","customerId":42,"customersScope":"global","firstName":"string","includeLandedCosts":true,"lastName":"string","name":"string","paymentSchedule":"beforeFinalize","priceListId":42,"pricingType":"channel","qualificationStatus":"pending","source":"application","state":"string","status":"active","stripeCustomerId":"string","tags":["string"],"taxCalculation":"channel","taxCalculationDuration":"rolling","taxCalculationExpiration":"2024-05-04T09:42:00+00:00","zip":"string"}'
Request example
{
  "accountType": "reseller",
  "addressLineOne": "string",
  "addressLineTwo": "string",
  "city": "string",
  "country": "string",
  "customerId": 42,
  "customersScope": "global",
  "firstName": "string",
  "includeLandedCosts": true,
  "lastName": "string",
  "name": "string",
  "paymentSchedule": "beforeFinalize",
  "priceListId": 42,
  "pricingType": "channel",
  "qualificationStatus": "pending",
  "source": "application",
  "state": "string",
  "status": "active",
  "stripeCustomerId": "string",
  "tags": [
    "string"
  ],
  "taxCalculation": "channel",
  "taxCalculationDuration": "rolling",
  "taxCalculationExpiration": "2024-05-04T09:42:00+00:00",
  "zip": "string"
}
Response examples (200)
{
  "accountType": "reseller",
  "addressLineOne": "string",
  "addressLineTwo": "string",
  "city": "string",
  "country": "string",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "customerId": 42,
  "customersScope": "global",
  "firstName": "string",
  "id": 42,
  "includeLandedCosts": true,
  "lastName": "string",
  "name": "string",
  "paymentSchedule": "beforeFinalize",
  "priceListId": 42,
  "pricingType": "channel",
  "qualificationStatus": "pending",
  "source": "application",
  "state": "string",
  "status": "active",
  "stripeCustomerId": "string",
  "tags": [
    "string"
  ],
  "taxCalculation": "channel",
  "taxCalculationDuration": "rolling",
  "taxCalculationExpiration": "2024-05-04T09:42:00+00:00",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "zip": "string"
}