Order Details
User History
Prices
Coupons
Products
Licenses
Pay Links
Transactions
Payments
Webhooks
post

/2.0/subscription/users/postcode

Update the ZIP/postcode of a user’s subscription

Example Request

curl -X POST -d 'vendor_id=1234567' \
             -d 'vendor_auth_code=123456abc...' \
             -d 'subscription_id=12345' \
             -d 'postcode=123456' \
https://vendors.paddle.com/api/2.0/subscription/users/postcode

Usage Notes

  • The updated postcode will be applied to all subscription invoices
  • The Subscription Updated webhook will not be fired when this API is used.
  • The API will not change the country associated with the subscription.

Request Body

Form data (application/x-www-form-urlencoded)
vendor_id
integer

The vendor ID identifies your seller account. This can be found in Developer Tools > Authentication.

required
minimum: 1
pattern: \d+
vendor_auth_code
string

The vendor auth code is a private API key for authenticating API requests. This key should never be used in client side code or shared publicly. This can be found in Developer Tools > Authentication.

required
pattern: [0-9a-f]+
subscription_id
integer

The ID of the subscription you’re updating.

required
pattern: ^\d+$
postcode
string

The new postcode to be applied to the subscription.

required

Responses

1 Example
Schema
object
success
boolean
response
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.