| Name | Type | Description |
|---|
| Shopify Token | SensitiveString | Shopify API token |
| Shopify Domain | String | Shopify domain |
| Order ID | String | Shopify order ID |
| Replacement Reason | String | Reason for replacement |
| Check for Previous Replacements | Boolean | Whether to check for previous replacements for the order customer |
| Billing Address | Optional Object | Billing address for the replacement order |
| Shipping Address | Optional Object | Shipping address for the replacement orde |
| Line Items | Optional List | Line items to be replaced |
| Discount Codes | Optional Object | A list of Shopify discounts if using discount type of custom |
| Discount Type | String | 100% or custom. Custom will take into consideration the Discount Codes input. |
| Shipping Lines | Optional List | Shopify shipping lines, if not provided, then would copy the shipping line title, code, and source from original order and set price to zero |
| Hour Limit | Optional Number | Hour limit for replacements created |
| Twelve Hour Limit | Optional Number | Twelve hours limit for replacements created |
| Twenty Four Hour Limit | Optional Number | Twenty four hours limit for replacements created |
📘
📘
📘
| Name | Type | Description |
|---|
| Replacement Order Created | Boolean | Whether the replacement order was created |
| Replacement Metaobject Created | Boolean | Whether the replacement metaobject was created |
| Replacement Note Created | Boolean | Whether the replacement note was created |
| Replacement Metafields Created | Boolean | Whether the replacement metafields were created |
| Blocked by Safety Checks | Boolean | Whether the replacement was blocked by safety checks |
| Order ID | Number | Replacement order ID |
| Order | Object | Replacement order |
📘
📘
Updated about 1 month ago