Skip to main content
PUT
/
v3
/
customer
Update Customer
curl --request PUT \
  --url https://service-sandbox.tazapay.com/v3/customer/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": {
    "calling_code": "1",
    "number": "9876543210"
  },
  "billing": [
    {
      "name": "Andrew Robin",
      "address": {
        "line1": "9th West",
        "line2": "57th Street",
        "city": "New York",
        "state": "New York",
        "country": "US",
        "postal_code": "10019"
      },
      "phone": {
        "calling_code": "1",
        "number": "9876543210"
      }
    }
  ],
  "shipping": [
    {
      "name": "Andrew Robin",
      "address": {
        "line1": "9th West",
        "line2": "57th Street",
        "city": "New York",
        "state": "New York",
        "country": "US",
        "postal_code": "10019"
      },
      "phone": {
        "calling_code": "1",
        "number": "9876543210"
      }
    }
  ],
  "metadata": {
    "key1": "value1",
    "key2": "value2"
  }
}
'
{
  "status": "success",
  "message": "",
  "data": {
    "message": "Successfully updated the customer"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.tazapay.com/llms.txt

Use this file to discover all available pages before exploring further.

Allows you to look up details of existing users on Tazapay’s database with their Tazapay account UUID.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
phone
object

Phone contact details

billing_address
object[]

Billing Details of the customer

shipping_address
object[]

Shipping Details of the customer

metadata
string<json>

Set of key-value pairs that can be attached to the object (JSON string format)

Example:

"{\"key1\": \"value1\", \"key2\": \"value2\"}"

customer_id
string

Customer id for which details need to be updated.

Response

200 - application/json

200

status
string
message
string
data
object