{
"code": "SUCCESS_WITH_SINGLE_PAYLOAD_OBJECT",
"message": null,
"payload": {
"credit_notes": [
{
"id": "16936fba-13a8-4d1f-8f2e-b4bb77c0bf5e",
"order_id": 22350,
"store_id": 25653,
"invoice_type": "credit_note",
"translated_invoice_type": "إشعار دائن",
"original_invoice_number": 22350,
"invoice_number": 775,
"issue_reason": "issue_reason_cancel",
"invoice_title": "فاتورة إلغاء",
"translated_issue_reason": "إلغاء طلب",
"store_name": "uat_lite",
"shipping_method_code": ".option_",
"store_url": "https://uatlite.zidtest.com/",
"order_status": {
"name": "تم الإلغاء",
"code": "cancelled"
},
"currency_code": "SAR",
"customer": {
"id": 135,
"name": "POS Guest Customer",
"verified": 1,
"email": "pos_guest_customer@test.com",
"mobile": "966500000001",
"note": "Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test",
"type": null
},
"has_different_consignee": 0,
"order_total": "30.0000",
"order_total_string": "30.00 SAR",
"products_sum_total_string": "30.00 SAR",
"has_different_transaction_currency": false,
"transaction_reference": null,
"transaction_amount": "30.0000",
"transaction_amount_string": "30.00 SAR",
"return_policy": "Test TestTest\n TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest TestTest Test",
"items": [
{
"id": "e291f766-e57c-467a-ad4e-8a06dd7b2a36",
"product_id": "4e3ffbe67db84a0fbcba534528e90eec",
"code": null,
"name": "تجريبي",
"custom_fields": [],
"sku": "Z.25653.17167197217481027",
"quantity": 3,
"is_taxable": true,
"is_discounted": false,
"meta": null,
"weight": null,
"net_price_with_additions": 10,
"net_price_with_additions_string": "10.00 SAR",
"price_with_additions": 10,
"price_with_additions_string": "10.00 SAR",
"net_price": "10.0000",
"net_price_string": "10.00 SAR",
"net_sale_price": null,
"net_sale_price_string": null,
"net_additions_price": 0,
"net_additions_price_string": null,
"original_price": null,
"original_price_string": null,
"gross_price": 0,
"gross_price_string": "0.00 SAR",
"gross_sale_price": null,
"gross_sale_price_string": null,
"price_before": null,
"price_before_string": null,
"total_before": null,
"total_before_string": null,
"gross_additions_price": 0,
"gross_additions_price_string": null,
"tax_percentage": 0,
"tax_amount": 0,
"tax_amount_string": "0.00 SAR",
"tax_amount_string_per_item": "0.00 SAR",
"sale_price": null,
"sale_price_string": null,
"price": 10,
"price_string": "10.00 SAR",
"additions_price": 0,
"additions_price_string": "0.00 SAR",
"total": 30,
"total_string": "30.00 SAR",
"images": [
{
"id": "static",
"origin": "https://media.zid.store/static/missing_image.png",
"thumbs": {
"fullSize": "https://media.zid.store/static/missing_image.png",
"thumbnail": "https://media.zid.store/static/missing_image.png",
"small": "https://media.zid.store/static/missing_image.png",
"medium": "https://media.zid.store/static/missing_image.png",
"large": "https://media.zid.store/static/missing_image.png"
}
}
],
"shipping": false,
"options": []
}
],
"shipping": {
"address": {
"district": "test",
"street": "test",
"city": {
"id": 1,
"name": "الرياض"
},
"country": {
"id": 183,
"name": "ساو تومي وبرينسيبي"
},
"meta": {
"shipping_address_meta": {
"buyer": {
"name": "POS Guest Customer",
"telephone": "966500000001",
"email": "pos_guest_customer@test.com"
}
}
}
},
"method": {
"id": 0,
"type": "pickup",
"is_system_option": false,
"name": null,
"estimated_delivery_time": null,
"code": ".option_",
"icon": "https://zid-testing-907587157081.s3.eu-west-1.amazonaws.com/static/delivery.png",
"tracking_number": null
}
},
"payment": {
"invoice": [
{
"code": "sub_totals",
"value": "30.0000",
"value_string": "30.00 SAR",
"title": "قيمة المنتجات"
},
{
"code": "total",
"value": "30.0000",
"value_string": "30.00 SAR",
"title": "المجموع الكلي"
}
],
"method": {
"id": 11182,
"name": "items.[]",
"code": "POS-CC",
"type": "pos"
}
},
"payment_method": {
"name": "بطاقة إئتمانية"
},
"customer_note": "Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test Test Test v Test Test",
"currency": {
"order_currency": {
"id": 2,
"code": "SAR",
"exchange_rate": 1
},
"order_store_currency": {
"id": 2,
"code": "SAR",
"exchange_rate": null
}
},
"coupon": null,
"items_count": 1,
"original_order_date": "27-05-2024 | 02:55 م",
"issue_date": "27-05-2024 | 02:58 م",
"created_at": "2024-05-27 11:58:39",
"updated_at": "2024-05-27 11:58:39",
"zatca": {
"qr_code_data": null
}
}
],
"returned_items": [
{
"id": "e291f766-e57c-467a-ad4e-8a06dd7b2a36",
"product_id": "4e3ffbe67db84a0fbcba534528e90eec",
"code": null,
"name": "تجريبي",
"custom_fields": [],
"sku": "Z.25653.17167197217481027",
"quantity": 3,
"is_taxable": true,
"is_discounted": false,
"meta": null,
"weight": null,
"net_price_with_additions": 10,
"net_price_with_additions_string": "10.00 SAR",
"price_with_additions": 10,
"price_with_additions_string": "10.00 SAR",
"net_price": "10.0000",
"net_price_string": "10.00 SAR",
"net_sale_price": null,
"net_sale_price_string": null,
"net_additions_price": 0,
"net_additions_price_string": null,
"original_price": null,
"original_price_string": null,
"gross_price": 0,
"gross_price_string": "0.00 SAR",
"gross_sale_price": null,
"gross_sale_price_string": null,
"price_before": null,
"price_before_string": null,
"total_before": null,
"total_before_string": null,
"gross_additions_price": 0,
"gross_additions_price_string": null,
"tax_percentage": 0,
"tax_amount": 0,
"tax_amount_string": "0.00 SAR",
"tax_amount_string_per_item": "0.00 SAR",
"sale_price": null,
"sale_price_string": null,
"price": 10,
"price_string": "10.00 SAR",
"additions_price": 0,
"additions_price_string": "0.00 SAR",
"total": 30,
"total_string": "30.00 SAR",
"images": [
{
"id": "static",
"origin": "https://media.zid.store/static/missing_image.png",
"thumbs": {
"fullSize": "https://media.zid.store/static/missing_image.png",
"thumbnail": "https://media.zid.store/static/missing_image.png",
"small": "https://media.zid.store/static/missing_image.png",
"medium": "https://media.zid.store/static/missing_image.png",
"large": "https://media.zid.store/static/missing_image.png"
}
}
],
"shipping": false,
"options": []
}
]
}
}