Actions define what modification to apply when a schedule adjustment matches an order.Documentation Index
Fetch the complete documentation index at: https://juo.dev/llms.txt
Use this file to discover all available pages before exploring further.
Skip order
Prevents an order from being created. The order will be excluded from the schedule entirely.
- Customer going on vacation
- Holiday closures
- Temporary subscription pause
| Field | Type | Required | Description |
|---|---|---|---|
reason | string | Yes | Reason for skipping the order |
Change date
Reschedules an order to a different date within the billing period.
- Customer requests different delivery day
- Adjusting timing around events
| Field | Type | Required | Description |
|---|---|---|---|
newDate | string | Yes | New date for the order (ISO 8601) |
Update shipping
Updates the shipping address for a specific order.
- Customer temporarily at different address
- One-time delivery to alternate location
| Field | Type | Required | Description |
|---|---|---|---|
address.firstName | string | No | First name |
address.lastName | string | No | Last name |
address.address1 | string | Yes | Street address line 1 |
address.address2 | string | No | Street address line 2 |
address.city | string | No | City |
address.zip | string | No | Postal/ZIP code |
address.countryCode | string | Yes | ISO country code |
address.provinceCode | string | No | Province/state code |
address.phone | string | No | Phone number |
address.company | string | No | Company name |
Update payment method
Updates the payment method for a specific order.
- Use different card for specific order
- One-time payment method override
| Field | Type | Required | Description |
|---|---|---|---|
paymentMethodId | string | Yes | Payment method identifier |
Update products
Modifies product lines for a specific order.
- One-time quantity change
- Swap variant for single order
- Adjust billing interval for specific cycle
| Field | Type | Required | Description |
|---|---|---|---|
lines | array | Yes | Array of line modifications (min 1) |
lines[].lineId | string | Yes | ID of the line to modify |
lines[].variantId | string | No | New variant ID to swap to |
lines[].quantity | integer | No | New quantity (min 1) |
lines[].interval | object | No | Override billing interval |
lines[].interval.intervalCount | integer | No | Number of intervals |
lines[].interval.interval | string | No | Interval unit: DAY, WEEK, MONTH, YEAR |
lines[].nextBillingDate | string | No | Override next billing date (ISO 8601) |
Line IDs must exist in the customer’s subscriptions.
Apply discount
Applies a discount (Shopify code or manual) to a specific order in the schedule.
- One-time promotional discount for specific cycle
- Loyalty reward for long-term subscribers
- Compensation discount for service issues
Shopify code discount
Apply an existing Shopify discount code to the order. Input:| Field | Type | Required | Description |
|---|---|---|---|
discountSource | string | Yes | Must be "code" |
discountCode | string | Yes | The Shopify discount code to apply |
Manual discount - line items
Create a custom discount targeting line items. Input:| Field | Type | Required | Description |
|---|---|---|---|
discountSource | string | Yes | Must be "manual" |
discountCode | string | Yes | Custom discount title/name |
discountType | string | Yes | "percentage" or "fixed_amount" |
value | number | Yes | Discount value (percentage 0-100 or fixed amount in shop currency) |
targetType | string | Yes | Must be "line_item" |
targeting | object | Yes | Specifies what to target |
{ "type": "all" }- Apply to all line items{ "type": "products", "productIds": ["gid://shopify/Product/123", ...] }- Apply to specific products
Manual discount - shipping
Create a custom discount targeting shipping. Input:| Field | Type | Required | Description |
|---|---|---|---|
discountSource | string | Yes | Must be "manual" |
discountCode | string | Yes | Custom discount title/name |
discountType | string | Yes | Must be "percentage" |
value | number | Yes | Must be 100 (free shipping) |
targetType | string | Yes | Must be "shipping" |
targeting | object | Yes | Must be { "type": "all" } |