Update

Link a shipping address to a membership seat.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Update a membership seat. This endpoint sets the member's shipping address (address_id) — the address must be one owned by the authenticated customer. Pass null to unlink. The response is the customer resource with a fresh JWT.

Example:

curl --request PUT \
  --url 'https://www.pelcro.com/api/v1/sdk/members/1001?site_id=1025' \
  --header 'Authorization: Bearer <JWT>' \
  --header 'Content-Type: application/json' \
  --data '{ "address_id": 4055 }'

Notes

  • Protected — requires the customer's JWT.
  • The member must belong to the authenticated customer and the asserted site.
  • address_id must reference an address owned by the customer, otherwise a 400 validation error (Address ID is invalid) is returned.
Path Params
integer
required

Member ID.

Query Params
int32
required

The unique identifier of the site associated with your account.

Body Params
integer | null
≥ 0

ID of an address owned by the authenticated customer to link to this member. Pass null to unlink.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json