Update Merchant
Authentication
Request
Response
Human-readable description of the result.
Result status of the operation (e.g. ‘success’).
Human-readable description of the result.
Result status of the operation (e.g. ‘success’).
Updates a merchant’s details, its compliance model, or both.
Send update to change the merchant’s name and contact details, setMerchantType to switch the merchant between the taxcloud and self-managed compliance models, or both together. At least one of the two is required.
Switching the compliance model sets the merchant’s status:
Switching to self-managed disconnects the merchant from TaxCloud. Their stored TaxCloud credentials are removed, so the order, exemption certificate, and refund endpoints return 403 for them and cart calculation switches to Ziptax’s own rate engine. Reconnecting later means switching back to taxcloud and setting their credentials again with Set Merchant Credentials.
Sending the compliance model a merchant already has changes nothing and does not re-send the invite, so a request is safe to repeat.
You can only update merchants that belong to your account. Requests for any other merchant, or for one that has been deleted, return 403.
Whether to email the merchant a TaxCloud invite when this request switches them to ‘taxcloud’. Defaults to true. It has no effect on a request that does not change the compliance model, so repeating a request will not invite the merchant twice. The invite goes to the merchant’s stored contactEmail; include an ‘update’ block to change that address first. A merchant with no contact email cannot be invited.
Switches the merchant to a different compliance model. Use ‘taxcloud’ to have TaxCloud handle the merchant’s registration, filing, and remittance: their status becomes ‘taxcloud_invited’ and they are emailed an invite. Use ‘self-managed’ to hand compliance back to the merchant: their status becomes ‘external_compliance’ and their stored TaxCloud credentials are removed. ‘connected’ and ‘offline’ are deprecated names for ‘taxcloud’ and ‘self-managed’. Sending the merchant’s current model changes nothing. Omit this field to leave the compliance model as it is.