Skip to main content
PATCH
/
v1
/
onye
/
{uid}
curl -X PATCH https://api.kwugwo.africa/v1/onye/ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE \
  -H "Authorization: Bearer $KWUGWO_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "first_name": "Adaeze", "meta": { "source": "shopify", "tier": "vip" } }'
{
  "uid": "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE",
  "email": "ada@example.com",
  "first_name": "Adaeze",
  "last_name": "Okeke",
  "meta": { "source": "shopify", "tier": "vip" }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kwugwo.africa/llms.txt

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

Partially updates the customer. Send only the fields you want to change — omitted fields keep their existing values.

Path parameters

uid
string
required
Customer ID — ony.XXXX.YYYY....

Body parameters

All fields are optional. When sent, the same validation rules as Create apply.
email
string
New email. Must be valid.
ref
string
Your reference (max 150 chars).
first_name
string
Up to 100 chars.
last_name
string
Up to 100 chars.
billing_address
object
Same shape as on create.
meta
object
Replaces the existing meta; it is not merged.

Response

Returns the updated customer, same shape as Get a customer.
curl -X PATCH https://api.kwugwo.africa/v1/onye/ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE \
  -H "Authorization: Bearer $KWUGWO_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "first_name": "Adaeze", "meta": { "source": "shopify", "tier": "vip" } }'
{
  "uid": "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE",
  "email": "ada@example.com",
  "first_name": "Adaeze",
  "last_name": "Okeke",
  "meta": { "source": "shopify", "tier": "vip" }
}