Skip to main content
PUT
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
customers
/
{customerId}
Update Customer
curl --request PUT \
  --url https://api.sabivendor.com/api/v1/hub/shop/{shopId}/customers/{customerId} \
  --header 'Content-Type: application/json' \
  --header 'X-Shop-API-Key: <x-shop-api-key>' \
  --data '
{
  "address": "<string>"
}
'
{
  "status": "success",
  "message": "Customer updated successfully",
  "data": {
    "id": "c3b07384-d113-4e4e-9828-4e4e98284e4e",
    "customerFullName": "John Doe",
    "address": "456 Island Ave, Lagos"
  }
}
Updates customer details (e.g. shipping address or contact info).

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
customerId
string
required
The unique UUID of the customer.

Request Body (JSON)

address
string
Updated delivery address.
{
  "status": "success",
  "message": "Customer updated successfully",
  "data": {
    "id": "c3b07384-d113-4e4e-9828-4e4e98284e4e",
    "customerFullName": "John Doe",
    "address": "456 Island Ave, Lagos"
  }
}