Mailing software integration
For linking most mailing/marketing software the following items can be fetched with the API.
User info
For fetching the user the following calls can be used. This only returns the registered users on the webshop.
If also customer and address info is required extra calls can be made to get that kind of information.
/api/origin/{origin}/customer
/api/origin/{origin}/address
Request
If all users must be fetched the following call can be used:
GET /api/user/
GET /api/origin/{origin}/user/
Also, parameters can be used to limit the number of results:
?create_date__gte=2021-03-10 Users created after 10 march 2021
?modified_date__gte=2021-03-10 Users modifed after 10 march 2021
Parameters can also be combined and will work as an AND operator
Response
{
"id": 116,
"key": "7eb82a4d-d85f-47e9-996b-b930763aa6b9",
"origin": "DEMO",
"active": true,
"account_active": true,
"email": "rlaan@cloudsuite.com",
"first_name": "Raimond",
"middle_name": "",
"last_name": "Laan",
"gender": "male",
"guest": false,
"date_of_birth": "1974-01-04",
"webshop": 1,
"phone": "0612345678",
"mobile": "0612345678",
"registration": "ready",
"authorised_customers": [
"12345678-56-23-45"
],
"last_login": "2022-04-18T09:42:29",
"newsletter": false,
"language": "nl_NL",
"user_profiles": null,
"create_date": "2019-03-20T13:01:11.538287",
"modified_date": "2020-04-18T09:42:28.921722"
}
If customer info is also required the customers from authorised_customers
can be fetsch for extra info
Customer info
Response
Product Info
Base product info
Request
Response
Product Assets
All assets from the product must be fetched to find the primary image. This has the type product_image.
Request
Response
Order Info
Getting the order info must be done in multiple steps;
Getting the orderlist of order which are delivered and done
Getting the order detail information
Request
Response
Request
Response
Abandoned basket
© 2024 CloudSuite BV, All rights reserved