The following Input (STDIN) is what I get when i target cart.validations.generate.run. What I would like is some additional context to identify when this is back office creating a sales order (Draft order), because the logic of my validation is a little different when being handled by the sales team creating a draft order. My code can’t tell if this is the website or back office.
{
"buyerJourney": {
"step": "CHECKOUT_INTERACTION"
},
"cart": {
"lines": [
{
"id": "gid:\/\/shopify\/CartLine\/0",
"quantity": 2,
"merchandise": {
"__typename": "ProductVariant",
"id": "gid:\/\/shopify\/ProductVariant\/45880341692578",
"title": null,
"product": {
"id": "gid:\/\/shopify\/Product\/8789603942562",
"title": "Foo bar product"
},
}
}
],
"retailLocation": null
}
}