Menu
Update an existing customer membership
Update an existing customer membership
PUT
/shops/{shopKey}/countries/{countryCode}/customers/memberships/{membershipId}Use it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Update an existing customer membership action (under Customers).
- Fill in the fields below, then reference the result from later steps as
{{updateAnExistingCustomerMembership.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"isActive": true,
"typeKey": "payback",
"accountNumber": 1234567890,
"id": 0,
"createdAt": "2023-01-22T11:30:15+00:00",
"updatedAt": "2023-01-22T11:30:15+00:00"
}
Response
Returns 200 with an object. Read it in later steps with {{updateAnExistingCustomerMembership.response.data.<field>}}.
{
"isActive": true,
"typeKey": "payback",
"accountNumber": 1234567890,
"id": 0,
"createdAt": "2023-01-22T11:30:15+00:00",
"updatedAt": "2023-01-22T11:30:15+00:00"
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?