Skip to content

Customer Feed ​

Customers are fetched in the same way as order feeds, but with the following fields. Ensure that the customer id is the same as the one used in the orders feed. If the customer is a member, the type field must be set to "member". If the customer is a guest, the type field must be set to "guest".

JSON
{
    "nextCursor": 1709547430,
    "customers": [
        {
            "id": "C123",
            "type": "member", // or "guest".
            "firstName": "Test",
            "lastName": "Testsson",
            "email": "test@example.com",
            "flags": { // optional
                "is_employee": true, // we recommend omitting the field instead of setting it to false for non-employees
            },
            "externalIds": { // optional
                "voyado": "1234567890"
            },
            "preferredLanguage": "sv", // ISO 639-1 language code
            "country": "SE", // ISO 3166-1 alpha-2 country code
            "hasMarketingConsent": true // whether the customer has given marketing consent
        }
    ]
}