expiresAt in the past) are excludedlanguage query parameter (e.g. ?language=ar) to resolve name and imageUrl to that language. Falls back to default values when no translation exists. No localizedContent map is exposed in the response — you get resolved strings only.pageNumber and pageSize to control the page. Results are sorted by ranking (ascending), then by creation date (descending).curl --location -g --request GET 'https://api-stg.98s.studio//api/v1/marketplace/user/{{user-key}}/gifts?pageNumber=1&pageSize=10&categoryId&language=ar' \
--header 'x-api-key: {{api-key}}'{
"items": [
{
"id": "b1c2d3e4-5678-9abc-def0-111111111111",
"name": "سماعات فاخرة",
"imageUrl": "https://example.com/headphones-ar.png",
"categoryName": "Electronics",
"pricePoints": 500,
"priceSar": 50,
"priceDisplay": "Both",
"isUnlimited": false,
"remainingStock": 7,
"ranking": 1,
"expiresAt": "2026-12-31T23:59:59Z",
"createdAt": "2026-03-20T09:00:00Z"
},
{
"id": "b1c2d3e4-5678-9abc-def0-222222222222",
"name": "Coffee Voucher",
"imageUrl": null,
"categoryName": "Food & Drinks",
"pricePoints": 100,
"priceSar": null,
"priceDisplay": "Points",
"isUnlimited": true,
"remainingStock": null,
"ranking": 2,
"expiresAt": null,
"createdAt": "2026-03-18T12:00:00Z"
}
],
"pagination": {
"currentPage": 1,
"pageSize": 10,
"totalCount": 2,
"totalPages": 1,
"hasPrevious": false,
"hasNext": false
}
}