Update customer
shoprocket_update_customerWRITE: change a customer's email, name, phone, company, tax number or newsletter consent. Only the fields you pass are sent. Set marketing_subscribed true only if the customer actually opted in. POST /v1/customers/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Full name. | |
| No | New email address. | ||
| contact | No | Phone number. | |
| tax_number | No | Tax number. | |
| customer_id | Yes | Shoprocket customer id (cus_...). | |
| company_name | No | Company name. | |
| marketing_subscribed | No | true only if the customer opted in to the newsletter. |