Skip to main content
POST
Restore a customer

Authorizations

Authorization
string
header
required

Your API key, e.g. sk_live_... or sk_test_....

Headers

Idempotency-Key
string

Optional. Makes this write safe to retry: the same key replays the first response instead of acting twice.

Maximum string length: 255

Path Parameters

customer
string
required

Customer public id, e.g. cus_....

Response

Updated.

markup_bps, pricing_mode, category_markups and platform_fee are deprecated. They are no longer stored or returned. A request that still sends them succeeds and the fields are ignored, because LazyApp adds nothing to Meta's rates, so there is no per-customer markup to set.

id
string

Public id, prefixed cus_.

uuid
string<uuid>
external_id
string | null
name
string
email
string | null
status
string
billing_mode
enum<string>
Available options:
inherit,
prepaid,
postpaid
metadata
object
invoice_metadata
object
spending_limit_cents
integer | null
wallet_balance_cents
integer

Prepaid balance in minor units, used when billing_mode is prepaid. It is debited only for sends LazyApp pays Meta for, at Meta's rate. Sends on numbers where Meta bills the business directly cost nothing here.

usage_alert_cents
integer | null
suspended_at
string<date-time> | null
archived_at
string<date-time> | null
created_at
string<date-time> | null
connections
object[]

The customer's WhatsApp numbers in this key's mode, default first.

usage
object

This calendar month's usage in this key's mode.