SbPublicApiUpdateCustomerRequest
snowbee.SbPublicApiUpdateCustomerRequest
All fields are optional.
countryIsoCodeoptionalISO 3166-1 alpha-2 country code
Example"NO"electronicReceiptoptionalWhether the customer wants electronic receipts
Exampletrueemailoptional- Example
"ola.nordmann@example.com" firstNameoptional- Example
"Ola" languageIsoCodeoptionalISO 639-2 language code
Example"NOR"lastNameoptional- Example
"Nordmann" loyaltyProgramsoptionalLoyalty program enrollments to set for this customer
Show item fields
Loyalty program enrollment status for a customer
enrolledrequiredWhether the customer is enrolled in this loyalty program
ExampletrueidrequiredUnique identifier of the loyalty program
Example"01234567-89ab-cdef-0123-456789abcdef"namerequired- Example
"Premium Members Club"
newsletteroptionalWhether the customer subscribes to the newsletter
ExamplefalsephoneoptionalCustomer's phone number in E.164 format
Example"+4790123456"
View raw schema
{
"type": "object",
"description": "All fields are optional.",
"properties": {
"countryIsoCode": {
"type": [
"null",
"string"
],
"description": "ISO 3166-1 alpha-2 country code",
"example": "NO",
"title": "String"
},
"electronicReceipt": {
"type": [
"null",
"boolean"
],
"description": "Whether the customer wants electronic receipts",
"example": "true",
"title": "Boolean"
},
"email": {
"type": [
"null",
"string"
],
"example": "ola.nordmann@example.com",
"title": "String"
},
"firstName": {
"type": [
"null",
"string"
],
"example": "Ola",
"title": "String"
},
"languageIsoCode": {
"type": [
"null",
"string"
],
"description": "ISO 639-2 language code",
"example": "NOR",
"title": "String"
},
"lastName": {
"type": [
"null",
"string"
],
"example": "Nordmann",
"title": "String"
},
"loyaltyPrograms": {
"type": [
"null",
"array"
],
"description": "Loyalty program enrollments to set for this customer",
"items": {
"$ref": "#/components/schemas/snowbee.SbPublicApiCustomerLoyaltyProgramResponse"
},
"title": "List<SbPublicApiCustomerLoyaltyProgramResponse>"
},
"newsletter": {
"type": [
"null",
"boolean"
],
"description": "Whether the customer subscribes to the newsletter",
"example": "false",
"title": "Boolean"
},
"phone": {
"type": [
"null",
"string"
],
"description": "Customer's phone number in E.164 format",
"example": "+4790123456",
"title": "String"
}
},
"title": "SbPublicApiUpdateCustomerRequest"
}