Shopify Flow Delete Variant-- Include admin user email in HTTP request

Using the Product Variant Delete flow, I need to send an HTTP request to our backend ERP. In the body of the request, I’d like to include the email address of the shopify user that deleted the variant. Something like:

{ “AdminEmail”: “{{admin.email}}”
, “VariantId”:{{productVariantId}}

Thank you,

Chris

Hi, Looks like you need to organize and clean a bit data.

Something like:

let userData= [

{{email}},

variantId:{{product.variantID}}

]

Try this in array table, and unarray it with something like:

let userProfile = json [userData];

console.log (userProfile);

console.log (userProfile[1]);

I’m not sure you actually know what a Flow is. If you can’t show an actual solution, don’t offer one