Creates an earning order (points awarded on a completed off-platform purchase). The request is serialized inside a distributed lock scoped to the authenticated merchant to reduce concurrent processing conflicts.
Customer phone number. Accepted formats: +966XXXXXXXXX, 00966XXXXXXXXX, 966XXXXXXXXX, 0XXXXXXXXX, or bare 5XXXXXXXX. Normalised server-side to 5\d{8}.
"512345678"
Purchase amount (SAR).
x >= 0115
1Merchant order reference.
"SALE-2024-0021"
255"Ahmed Al-Saud"
x >= 015
x >= 022.5
x >= 010
Optional shipping address. All fields are individually optional.
Optional metadata stored on the order.