Key Takeaways
- Scenario 1153 is partial-cancel / line-item cancel webhooks — not warranty registration, store credit, price-match, try-on kits, subscription skips, BOPIS, waitlist restocks, preorder drops, gift-card sales, COD, split-ship, refunds, or renewals.
- “Line 3 on order 8821 cancelled — rest still ships” is transactional. “We restocked that SKU” is marketing. Split SIMs.
- Cap SMS per line id. WMS retries of line.cancelled will empty prepaid.
- Priced by devices and SMS send volume. You use your own phone and operator SMS credit. Free is 1 / 300 / 300. Developer is 25,000 SMS per year.
- Verify HMAC. A forged line.cancelled event lies about a box still on the belt.
- REST fields live in Developer Center — not a CodeCanyon cancel plugin. MCP, if you use it, is only a REST wrapper.
Summary
Scenario 1153 is ecommerce webhooks for partial / line-item cancels. The order owns the remaining lines. Your worker texts which SKU dropped — not the whole “we restocked it” segment. Priced by devices and SMS send volume. You use your own phone and operator SMS credit.
If you key SMS on order id instead of order+line, the second warehouse ping will re-announce a cancel the buyer already accepted.
Line-item cancels
Map line.cancelled / order.partial hooks to a worker. Shopify overview · gateway webhooks. Fields: Developer Center. Industry context: GSMA.
Event map
| Shop event | SMS job | Idempotency | SIM |
|---|---|---|---|
| line.cancelled | Which line + rest ships | Order + line | Transactional |
| order.partial | Once per wave | Order + wave | Transactional |
| we restocked it | Promo | Consent + quiet hours | Promo MSISDN |
| staff login | OTP | — | Dedicated OTP phone |
One SMS per line
WMS retries. Your key is order+line. Idempotent send. DLR ≠ refunded — DLR.
Cost
Priced by devices and SMS send volume. You use your own phone and operator SMS credit. Free: 1 device, 300 SMS lifetime, 300 contacts. Developer: 25,000 SMS per year. Paid plans uncap platform volume; devices still meter. Pricing.
Ops
Spare radio before a shortage week. Doze · setup.
Security
Separate shop secrets from gateway callbacks. Trust Center · OTP. Restock STOP off the cancel inbox. STOP.
Checklist
- HMAC required.
- Idempotency on order+line.
- Do not treat as a full-order refund SMS.
- OTP isolated.
- Airtime for shortage week.
Next steps
Ecommerce templates · SMS API documentation.
Related product pages
Jump to the live product docs for this topic—not another long-form article.
- SMS webhook integrationInbound and status events
- transactional SMS for orders and alertsEvent-driven messages
- SMS API documentationLive endpoint reference
- device and SMS volume pricingPlans and allowances





