Skip to main content

Update a subscriber

PUT 

https://euwest.api.elasticpath.com/v2/subscriptions/subscribers/:subscriber_uuid

Update a subscriber

Request

Responses

Success. The subscriber details are returned.

Authorization: http

name: BearerTokentype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com/v2
Auth
Parameters
— pathrequired
Body
{
  "data": {
    "id": "11111111-2222-3333-4444-555555555555",
    "type": "subscription_subscriber",
    "attributes": {
      "name": "John Doe",
      "email": "john.doe@example.com",
      "payment_authority": {
        "type": "elastic_path_payments_stripe",
        "customer_id": "cus_OPfKlxWV3hp9h6",
        "card_id": "card_8Diw3FQPhxK27WADPVMeXieP"
      }
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!