Skip to content

Instantly share code, notes, and snippets.

@ianrussel
Last active March 19, 2025 00:27
Show Gist options
  • Save ianrussel/4d380e914147937144ba5518374359c5 to your computer and use it in GitHub Desktop.
Save ianrussel/4d380e914147937144ba5518374359c5 to your computer and use it in GitHub Desktop.
order_checkout
{
"person": {
"id": "3c7e0051-751c-4563-9f4b-a89d35189be2",
"firstname": "Jane",
"lastname": "Doe",
"email": "[email protected]",
"phone": null,
"status": true,
"type": "person",
"photo": "df401229-76dd-4ee9-85a0-be84565c8af8",
"photo_url": "https://bfwebsiteassets.blob.core.windows.net/person-photo/default-person-photo.png",
"companies": [
{
"navid": "16310",
"name": "SOAR COMMUNICATIONS GROUP LTD",
"blocked": 0,
"branch": "AUC",
"price_group": "BESTBOOK",
"payment_terms": "90EOM",
"credit_limit": 632500,
"country": "NZ"
}
],
"bfwebsite": true,
"customer": {
"navid": "16310",
"name": "SOAR COMMUNICATIONS GROUP LTD",
"blocked": 0,
"branch": "AUC",
"price_group": "BESTBOOK",
"payment_terms": "90EOM",
"credit_limit": 632500,
"country": "NZ"
},
"address": [
{
"customerid": "16310",
"code": "FINELY",
"name": "FINELY FINISHED ",
"address": "5 ZELANIAN DRIVE",
"address2": null,
"city": "MANUKAU CITY",
"phone": null,
"country": "NZ"
},
{
"customerid": "16310",
"code": "HAMILTON",
"name": "SCG HAMILTON",
"address": "24 NORTON ROAD",
"address2": null,
"city": "HAMILTON",
"phone": "07 847 7214",
"country": null
},
{
"customerid": "16310",
"code": "MAIN",
"name": "SOAR COMMUNICATIONS GROUP LTD",
"address": "20 VESTEY DRIVE",
"address2": null,
"city": "AUCKLAND",
"phone": "09 302 9100",
"country": null
}
],
"persons": [
{
"id": "89206a7f-0c9a-4ab5-9b18-0f5588fb9fda",
"firstname": "Mang",
"lastname": "Jose",
"photo": null,
"bfwebsite": true,
"email": "[email protected]",
"is_active": false
},
{
"id": "2536b86f-a43f-4457-bb3b-5682eadea0e0",
"firstname": "Ramon",
"lastname": "Ang",
"photo": null,
"bfwebsite": true,
"email": "[email protected]",
"is_active": true
},
{
"id": "7e48384e-f5cf-4f4e-866d-845000e79ba1",
"firstname": "jose",
"lastname": "jose",
"photo": null,
"bfwebsite": true,
"email": "[email protected]",
"is_active": true
},
{
"id": "3c7e0051-751c-4563-9f4b-a89d35189be2",
"firstname": "Jane",
"lastname": "Doe",
"photo": null,
"bfwebsite": true,
"email": "[email protected]",
"is_active": true
}
],
"is_active": true,
"email_verified": true,
"current_date": "March 19, 2025",
"customer_name": "SOAR COMMUNICATIONS GROUP LTD",
"customer_number": "16310",
"ordered_by": "Jane Doe ([email protected])",
"customer_reference": "ADADADAD"
},
"selected_address": {
"customerid": "16310",
"code": "FINELY",
"name": "FINELY FINISHED ",
"address": "5 ZELANIAN DRIVE",
"address2": null,
"city": "MANUKAU CITY",
"phone": null,
"country": "NZ"
},
"notes": "here is trhe notes",
"items": [
{
"id": "e6dabd0e-28b3-49c5-b356-816d27ac76cf",
"quantity": 1,
"attributes": {},
"cart_id": "ba436de3-96f9-431e-937a-1e9f29897677",
"itemid": "098330-WHITE",
"added_at": "2025-03-18T00:33:17.557000",
"iuom": {
"itemid": "098330-WHITE",
"navid": "098330",
"variant": "WHITE",
"description": "DCP INDIGO",
"gsm": "120",
"caliper": "128",
"size": "320X460",
"inventorytypename": "EXSTOCK",
"weight": "0.01766000000000000000",
"enviroclaim": "FSC MIXED",
"customerid": "",
"vendorid": "098330",
"surface": "",
"descriptivecolor": "WHITE",
"format": "PACKET",
"format_qty": "250.00000000000000000000",
"brandrangeid": "013434e5-a1e7-43e3-a8bb-52ce2100c608",
"total_inventory": "12250.0000",
"auc_traffic_light": "R",
"wel_traffic_light": "R",
"chc_traffic_light": "G"
},
"price": 0,
"format": "PACKET",
"orig_price": 0,
"lowest_price": 0
},
{
"id": "9afdaeee-2339-491d-b7d2-574b496cace8",
"quantity": 1,
"attributes": {},
"cart_id": "ba436de3-96f9-431e-937a-1e9f29897677",
"itemid": "098830-WHITE",
"added_at": "2025-03-18T12:21:27.420000",
"iuom": {
"itemid": "098830-WHITE",
"navid": "098830",
"variant": "WHITE",
"description": "DCP INDIGO",
"gsm": "300",
"caliper": "276",
"size": "460X320",
"inventorytypename": "EXSTOCK",
"weight": "0.04416000000000000000",
"enviroclaim": "FSC MIXED",
"customerid": "",
"vendorid": "098830",
"surface": "",
"descriptivecolor": "WHITE",
"format": "PACKET",
"format_qty": "125.00000000000000000000",
"brandrangeid": "013434e5-a1e7-43e3-a8bb-52ce2100c608",
"total_inventory": "12500.0000",
"auc_traffic_light": "G",
"wel_traffic_light": "R",
"chc_traffic_light": "G"
},
"price": 0,
"format": "PACKET",
"orig_price": 0,
"lowest_price": 0
},
{
"id": "c7e28884-df72-4d2a-85ed-c3e3e598af32",
"quantity": 5,
"attributes": {},
"cart_id": "ba436de3-96f9-431e-937a-1e9f29897677",
"itemid": "I126212-FLAGDWHITE",
"added_at": "2025-03-17T13:40:17.090000",
"iuom": {
"itemid": "I126212-FLAGDWHITE",
"navid": "I126212",
"variant": "FLAGDWHITE",
"description": "POLAR OFFSET - SCG",
"gsm": "90",
"caliper": "112",
"size": "640X900",
"inventorytypename": "JIT",
"weight": "0.05184000000000000000",
"enviroclaim": "FSC MIX 90",
"customerid": "16310",
"vendorid": "",
"surface": "",
"descriptivecolor": "WHITE",
"format": "PALLET",
"format_qty": "8500.00000000000000000000",
"brandrangeid": "2722bba4-9c90-434b-b23c-7a0ac8e54568",
"total_inventory": "314500.0000",
"auc_traffic_light": "G",
"wel_traffic_light": "R",
"chc_traffic_light": "R"
},
"price": 0,
"format": "PALLET",
"orig_price": 0,
"lowest_price": 0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment