Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
loyalty_program.read_write - Loyalty Program Read & Writecurl --location --request POST 'https://api.zid.sa/v1/managers/loyalty-program/customers/adjust-customer-points' \
--header 'Authorization: {{Autherization}}' \
--header 'X-Manager-Token: {{Access-Token}}' \
--header 'Accept: application/json' \
--header 'Accept-Language: en' \
--form 'customerId="37"' \
--form 'direction="+"' \
--form 'points="5"' \
--form 'reason="gift"'{
"status": "object",
"data": {
"date": "2026-03-02T13:26:14.000000Z",
"reason": "gift",
"points": 5,
"direction": "+",
"type": "ManualAccumulation",
"order_number": null,
"expiry_date": null,
"point_status": "Active",
"collection_method": "Manually added points"
},
"message": {
"type": "object",
"code": "MSG_POPUP_OK",
"name": "Adjust customer points",
"description": "Points updated successfully"
}
}