Skip to content

Instantly share code, notes, and snippets.

@sakukode
Created August 31, 2020 07:29
Show Gist options
  • Save sakukode/03d1478ab404e86d4705a0c4a529950a to your computer and use it in GitHub Desktop.
Save sakukode/03d1478ab404e86d4705a0c4a529950a to your computer and use it in GitHub Desktop.
Response Commission Checker
{
"order": {
"is_correct_status_order": true,
"order_id": 710158,
"order_no": 1000023,
"payment_method": "Avapay",
"date_purchased": "2020-08-14 13:24:06",
"total_price": "35.0000",
"payment": "35.0000",
"coupon_id": 9544,
"order_product": [
{
"order_product_id": 1102009,
"order_id": 710158,
"product_id": 221031,
"quantity": 1,
"price_by_variation": 0,
"product_model": "",
"product_name": "RIBBON GIFT ",
"price": 35,
"tax_amount": 0,
"tax_rate": 0,
"tax_name": null,
"product_input_applied": 0,
"actual_price": 35,
"order_product_variation": null
},
{
"order_product_id": 1102010,
"order_id": 710158,
"product_id": 215942,
"quantity": 1,
"price_by_variation": 0,
"product_model": "",
"product_name": "Bawal Cotton Plain Bidang 45 (Cerise)",
"price": 12,
"tax_amount": 0,
"tax_rate": 0,
"tax_name": null,
"product_input_applied": 0,
"actual_price": 12,
"order_product_variation": null
},
{
"order_product_id": 1102011,
"order_id": 710158,
"product_id": 215893,
"quantity": 1,
"price_by_variation": 0,
"product_model": "",
"product_name": "Bawal Cotton Plain Bidang 45 (Blue Black)",
"price": 12,
"tax_amount": 0,
"tax_rate": 0,
"tax_name": null,
"product_input_applied": 0,
"actual_price": 12,
"order_product_variation": null
}
]
},
"avanapay_payment": {
"avanapay_payment_id": 261469,
"order_id": 710158,
"shop_id": 75700,
"amount": "35.0000",
"transaction_fee": "1.0500",
"payout": "0",
"created_at": "2020-08-14 13:27:38",
"updated_at": "2020-08-14 13:27:38",
"payment_method": "fpx",
"converted_from_currency": null,
"conversion_rate_applied": null
},
"dropship_affiliate": {
"is_active": true,
"user_id": 229464,
"hq_id": 466,
"hq_agent_level_id": 1217,
"hq_agent_level_name": "GENGTIYA",
"code": "4Hra6Y76D5og9FEIArD1"
},
"product_under_level": {
"product_id": 221031,
"product_option_value_id": 0,
"status": "yes"
},
"log_history": {
"is_have_log": false
},
"share_performance": {
"is_available": true,
"order_id": 710158,
"hash": "NEhyYTZZNzZENW9nOUZFSUFyRDFfMF8yMDIwLTA4LTE0IDIxOjEzOjQ0Xw==",
"user_agent": "",
"commission": null,
"purchase_value": null,
"pay_at": null
},
"daily_performance": {
"is_available": true,
"daily_performance": [
{
"dropship_affiliate_daily_performance_id": 88507,
"date": "2020-08-14",
"code": "4Hra6Y76D5og9FEIArD1",
"channel": "whatsapp",
"total_share": 1,
"total_click": 3,
"total_order": 0,
"created_at": "2020-08-14 13:13:54",
"updated_at": "2020-08-14 14:31:36",
"commission": null
}
]
},
"product_performance": {
"is_available": true,
"product_performance": [
{
"dropship_affiliate_product_performance_id": 119322,
"code": "4Hra6Y76D5og9FEIArD1",
"date": "2020-08-14",
"product_id": 0,
"channel": "whatsapp",
"total_share": 1,
"total_click": 0,
"total_order": 0,
"created_at": "2020-08-14 13:13:54",
"updated_at": "2020-08-14 13:13:54",
"total_quantity_sold": null,
"commission": null
}
]
},
"payment_affiliate": {
"is_available": false,
"payment": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment