novinzodevelopers
API referencePlugin contractFunctions

Extend Order Email

POST/functions/extend-order-email

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

orderId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
customerEmail*string|null
lines*array<>

Response Body

application/json

curl -X POST "https://example.com/functions/extend-order-email" \  -H "Content-Type: application/json" \  -d '{    "orderId": "string",    "customerEmail": "string",    "lines": [      {        "productId": "string",        "productVariantId": "string",        "productName": "string",        "variantName": "string",        "quantity": 1      }    ]  }'
{  "sections": [    {      "heading": "string",      "paragraphs": [        "string"      ],      "action": {        "label": "string",        "url": "string"      }    }  ],  "bcc": "string"}