Patch Sales Customers
Patch Sales Customers
PATCH /sales/customers
Headers
| Name | Description | Type |
|---|---|---|
| userId* | string (header) | string |
| tenantId* | string (header) | string |
| countryCode* | string (header) | string |
Request Body
{
"customerId": "string",
"merchantId": "string",
"newCustomerRequest": {
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"country": {
"code": "string",
"name": "string",
"currency": "string"
},
"state": {
"code": "string",
"name": "string"
}
},
"saleId": "string"
}
Responses
200 OK
Description: Successful operation
Example Value:
{
"message": "string",
"data": {
"saleId": "string",
"customerId": "string"
},
"meta": {
"currentPage": 0,
"from": 0,
"to": 0,
"perPage": 0,
"total": 0,
"lastPage": 0
}
}