Sweet Spot API

Command Palette

Search for a command to run...

PUT/v1/customers/{id}

Updates customer profile details including name and address information. Use this endpoint when organization admins need to update customer information. All fields are optional - only provided fields will be updated. Requires CustomerWrite permission on the target customer.

Parameters
Request parameters for this endpoint
NameLocationTypeRequiredDescription
idpathstringRequiredCustomer ID to update
Request Body
Fields in the request body
NameTypeRequiredDescription
address1
string
OptionalPrimary street address line
address2
string
OptionalOptional secondary address line (apartment, suite, etc.)
city
string
OptionalCity name
country
string
OptionalCountry code (ISO format)
firstName
string
OptionalFirst name of the customer
lastName
string
OptionalLast name of the customer
phone
string
OptionalPhone number of the customer
state
string
OptionalState or province code
zip
string
OptionalPostal or ZIP code
Response Data
Fields returned in the response
NameTypeRequiredDescription
address1
string
OptionalPrimary street address line
address2
string
OptionalOptional secondary address line (apartment, suite, etc.)
city
string
OptionalCity name
country
string
OptionalCountry code (ISO format)
createdAt
string (date-time)
RequiredTimestamp when the customer record was created
creditIpAddress
string
OptionalIP address used when performing the credit check
creditStatus
RequiredCurrent credit check status (unknown, passed, or failed)
creditTimestamp
string
OptionalTimestamp when the credit check was performed
id
CustomerPubId
RequiredPublic-facing unique identifier for the customer
phone
string
OptionalPhone number of the customer
state
string
OptionalState or province code
stripeId
string
OptionalStripe customer ID for payment processing (production)
stripeSandboxId
string
OptionalStripe customer ID for payment processing (sandbox)
updatedAt
string (date-time)
RequiredTimestamp when the customer record was last updated
userId
UserId
RequiredUser account associated with this customer
zip
string
OptionalPostal or ZIP code