Body
Required
-
Account type
Values are
reseller
orsalesRep
. Default value isreseller
. -
Address line one
-
Address line two
-
City
-
Country
-
Created at
-
Customer
-
Customers scope
Values are
global
orself
. -
First name
-
Id
-
Include landed costs
-
Last name
-
Name
-
Payment schedule
Values are
beforeFinalize
ormanual
. Default value isbeforeFinalize
. -
Price list
-
Pricing type
Values are
channel
orselected
. Default value ischannel
. -
Qualification status
Values are
pending
,started
, orcomplete
. Default value ispending
. -
Source
Values are
application
,manual
, ormigration
. -
State
-
Status
Values are
pending
,active
,archived
, orrejected
. Default value isactive
. -
Stripe customer
-
Tax calculation
Values are
channel
,taxRate
, ordisabled
. Default value ischannel
. -
Tax calculation duration
Values are
rolling
orfixed
. Default value isrolling
. -
Tax calculation expiration
-
Updated at
-
Zip
curl \
--request PUT 'http://api.example.com/v1/resellers/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"accountType":"reseller","addressLineOne":"string","addressLineTwo":"string","city":"string","country":"string","createdAt":"2025-05-04T09:42:00Z","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":"2025-05-04T09:42:00Z","updatedAt":"2025-05-04T09:42:00Z","zip":"string"}'
{
"accountType": "reseller",
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"country": "string",
"createdAt": "2025-05-04T09:42:00Z",
"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": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"zip": "string"
}