Menu
Create a new customer membership
Create a new customer membership
POST
/shops/{shopKey}/countries/{countryCode}/customers/{customerIdentifier}/membershipsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Create a new customer membership action (under Customers).
- Fill in the fields below, then reference the result from later steps as
{{createANewCustomerMembership.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 201 with an object. Read it in later steps with {{createANewCustomerMembership.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?