curl --request POST \
--url https://api.example.com/v1.0/distributor/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"DistributorName": "<string>",
"BillingAddress": {
"Street1": "<string>",
"Street2": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Country": "<string>"
},
"MailingAddress": {
"Street1": "<string>",
"Street2": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Country": "<string>"
}
}
'curl --request POST \
--url https://api.example.com/v1.0/distributor/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"DistributorName": "<string>",
"BillingAddress": {
"Street1": "<string>",
"Street2": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Country": "<string>"
},
"MailingAddress": {
"Street1": "<string>",
"Street2": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Country": "<string>"
}
}
'JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.
Distributor object
Success