PUT /resellers/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Account type
Values are
reseller
orsalesRep
. Default value isreseller
. -
addressLineOne string | null
Address line one
-
addressLineTwo string | null
Address line two
-
city string | null
City
-
country string | null
Country
-
createdAt string(date-time)
Created at
-
customerId integer(int32) | null
Customer
-
customersScope string | null
Customers scope
Values are
global
orself
. -
firstName string | null
First name
-
id integer(int32)
Id
-
includeLandedCosts boolean | null
Include landed costs
-
lastName string | null
Last name
-
Name
-
Payment schedule
Values are
beforeFinalize
ormanual
. Default value isbeforeFinalize
. -
priceListId integer(int32) | null
Price list
-
Pricing type
Values are
channel
orselected
. Default value ischannel
. -
Qualification status
Values are
pending
,started
, orcomplete
. Default value ispending
. -
source string | null
Source
Values are
application
,manual
, ormigration
. -
state string | null
State
-
Status
Values are
pending
,active
,archived
, orrejected
. Default value isactive
. -
stripeCustomerId string | null
Stripe customer
-
Tax calculation
Values are
channel
,taxRate
, ordisabled
. Default value ischannel
. -
Tax calculation duration
Values are
rolling
orfixed
. Default value isrolling
. -
taxCalculationExpiration string(date-time) | null
Tax calculation expiration
-
updatedAt string(date-time)
Updated at
-
zip string | null
Zip
curl \
-X PUT http://api.example.com/v1/resellers/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
{
"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"
}