Skip to content

Instantly share code, notes, and snippets.

@cole007
Last active March 31, 2023 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cole007/059f8341d751f14fe76dc664b9194f01 to your computer and use it in GitHub Desktop.
Save cole007/059f8341d751f14fe76dc664b9194f01 to your computer and use it in GitHub Desktop.
{
"type": "discount",
"data": {
"name": "Luna and Gryff - £5 Off",
"description": "£5 Off",
"code": "LUNAGRYFF",
"start-date": null,
"end-date": null,
"per-item-discount": 0,
"per-item-percentage-off": "-0",
"ignore-sales": 0,
"flat-amount-off": -5,
"remove-all-shipping": 0,
"remove-shipping-matching-items": 0,
"dont-apply-subsequent-discounts": 0
}
}
{
"type": "order",
"data": {
"id": 264407,
"uid": "52c9881e-f1ae-4a74-97ef-cbec5fa6a396",
"user": {
"id": 264408,
"status": "Active",
"email": "sapocim989@dogemn.com",
"first-name": "Joe Bloggs",
"last-name": "Joe Bloggs",
"contact-name": "Joe Bloggs",
"payment-allowed": "yes",
"phone": "01234567890",
"business-name": "Joe Bloggs LTD.",
"companies-house": "JB12345",
"website": "https://joebloggs.co.uk/",
"user-group": [
"Customer",
"Staff"
],
"addresses": [
{
"street": "Unit 1B, Midland Rd",
"city": "Bath",
"zipcode": "BA2 3FT",
"county": "United Kingdom",
"state": "Somerset"
}
]
},
"customer": {
"id": "4679841"
},
"billing": {
"street": "Unit 1B, Midland Rd",
"city": "Bath",
"zipcode": "BA2 3FT",
"county": "United Kingdom",
"state": "Somerset"
},
"shipping": {
"street": "Unit 1B, Midland Rd",
"city": "Bath",
"zipcode": "BA2 3FT",
"county": "United Kingdom",
"state": "Somerset"
},
"reference": "PR-300864",
"coupon-code": null,
"date-order": "2023-03-30",
"status": "Processing",
"paid-status": true,
"order-total": 89.549999999999997,
"date-paid": "2023-03-30",
"po-number": null,
"last-update": "2023-03-31",
"shipping-total": 0,
"shipping-ref": null,
"tracking-number": null,
"loyalty-discount": 0,
"line-items": [
{
"id": 630231,
"sku": "PRHAESH",
"qty": 1,
"price-total": 34.950000000000003,
"sale-price-total": 34.950000000000003,
"tax": 0,
"discount-total": 0,
"discount-types": []
},
{
"id": 630230,
"sku": "CHARITY",
"qty": 12,
"price-total": 4.5499999999999998,
"sale-price-total": 4.5499999999999998,
"tax": 0,
"discount-total": 0,
"discount-types": []
}
]
}
}
{
"type": "product",
"data": {
"id": 67,
"title": "Classic Beef Heart, Tripe and Chicken (1kg)",
"url": "https://01-paleo.ddev.site/shop-raw/classic-beef-heart-tripe-chicken",
"slug": "classic-beef-heart-tripe-chicken",
"enabled": true,
"free-shipping": false,
"tax": "Ex Vat",
"shipping": "DPD",
"sku": "PRCLBHC",
"price": 5.2999999999999998,
"stock": "473",
"description": "<p>Classic Beef Heart, Tripe and Chicken is a complete 80:10:10 raw dog food, suitable for all life stages including puppies and seniors. This product is great for fussy dogs and those with sensitive tummies.</p>",
"herbie-helper": "Classic Beef Heart, Tripe and Chicken is a Complete, 80:10:10 Raw Dog Food.",
"weight": "1",
"raw": true,
"frozen": true,
"customers": [
"Customer",
"Internal",
"Trade"
],
"categories": [
"Raw"
],
"range": [
"Classic Raw Dog Food"
]
}
}
{
"type": "user",
"data": {
"id": 264408,
"status": "Active",
"email": "sapocim989@dogemn.com",
"first-name": "Joe",
"last-name": "Bloggs",
"contact-name": "Joe Bloggs",
"payment-allowed": "yes",
"phone": "01234567890",
"business-name": "Joe Bloggs LTD.",
"companies-house": "JB12345",
"website": "https://joebloggs.co.uk/",
"user-group": [
"Customer",
"Staff"
],
"addresses": [
{
"street": "Unit 1B, Midland Rd",
"city": "Bath",
"zipcode": "BA2 3FT",
"county": "United Kingdom",
"state": "Somerset"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment