Skip to content

Shopify (no code) ​

Confirm every new Shopify order on WhatsApp by pasting one webhook URL into your Shopify admin. No app install, no code.

Setup ​

  1. Otpera → API keys → Create key with the orders:write scope. Name it after your store.

  2. API keys → Shopify tab → paste the key → copy the webhook URL. It looks like:

    text
    https://api.otpera.com/api/v1/integrations/shopify/orders/otp_live_…
  3. Shopify admin → Settings → Notifications → Webhooks → Create webhook:

    • Event: Order creation
    • Format: JSON
    • URL: the copied URL
    • Webhook API version: the latest
  4. Place a real test order with your own phone number. It appears in Otpera → Orders and the WhatsApp confirmation goes out.

TIP

Shopify's Send test notification uses a fake order with no valid phone, so Otpera ignores it (no_valid_phone). Use a real test order instead.

What Otpera reads from the order ​

ShopifyOtpera
order_numberexternalId, source: "shopify"
First valid phone: shipping address → order → billing address → customercustomer.phone
Line items (price × 100)items
total_shipping_price_setshipping
total_discountsdiscount
Cash-on-delivery gatewayspaymentMethod: "cod"

Local numbers use the address country, e.g. 01011075070 in Egypt becomes +201011075070.

Behaviour ​

  • Otpera always answers 200 once the key is valid, so Shopify never retries or disables the webhook.
  • A repeated order is skipped (skipped_duplicate); no second message is sent.
  • Revoking the API key disconnects the store (401).

Get the customer's answer back with webhooks (order.status_changed), or work from Otpera → Orders.

otpera.com · WhatsApp order confirmation & OTP