Skip to main content
PUT
Update One Customer

Authorizations

Authorization
string
header
required

Your API key, sent in the Authorization header: Authorization: YOUR_API_KEY. A Bearer prefix is also accepted (Authorization: Bearer YOUR_API_KEY). Keys are created in the Upwell dashboard (Account → API keys) and are scoped to one organization.

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

customerRulesInput
CustomerRulesSetInput Ā· object | null

Customer rules to update. For Net 30, send { "dueOption": 30 }. Use 0 for due on receipt. Omit dueOption to keep the current terms.

id
string

Upwell identifier for this record. Store it to retrieve or update the record.

input
jsonb Ā· object | null

Object containing the fields to create or update. Only the fields in this endpoint schema are accepted.

Response

Responses for PUT /api/rest/customers/{id}

updateCustomer
Customers Ā· object | null

Update customer. See the schema for its JSON type and allowed values.

updateCustomerRules
CustomerRulesMutationResponse Ā· object | null

Update customer rules. See the schema for its JSON type and allowed values.