Skip to main content
PATCH
cURL
Send only the fields to change under gift_certificate. Set status to inactive to stop the certificate being used, and back to active to allow it again. To change the balance, use the amend call instead.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

gc_id
string
required

The gift certificate's id.

Body

application/json
gift_certificate
object
required

Response

200 - application/json

The updated gift certificate, under gift_certificate.

gift_certificate
object