# Item back in store WhatsApp template

> Tell customers a requested item is available again at their local store. Back in stock WhatsApp template for physical retail.

- Category: Marketing
- Industry: Retail
- Use case: Back in stock
- Language: en_US
- Approval rate: 90%
- Page: https://template-builder.dev/whatsapp-template/retail-back-in-stock-store
- JSON: https://template-builder.dev/whatsapp-template/retail-back-in-stock-store.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoicmV0YWlsX2JhY2tfaW5fc3RvY2tfc3RvcmUiLCJsYW5ndWFnZSI6ImVuX1VTIiwiY2F0ZWdvcnkiOiJNQVJLRVRJTkciLCJib2R5Ijp7InRleHQiOiJIaSB7e2ZpcnN0X25hbWV9fSwgdGhlICp7e3Byb2R1Y3RfbmFtZX19KiB5b3UgYXNrZWQgYWJvdXQgaXMgYmFjayBpbiBzdG9jayBhdCB7e3N0b3JlX25hbWV9fS4gV2UgY2FuIHNldCBvbmUgYXNpZGUgZm9yIHlvdS4ifSwiZm9vdGVyIjp7InRleHQiOiJSZXBseSBTVE9QIHRvIG9wdCBvdXQifSwiYnV0dG9ucyI6W3sidHlwZSI6IlFVSUNLX1JFUExZIiwidGV4dCI6IkhvbGQgb25lIGZvciBtZSJ9LHsidHlwZSI6IlFVSUNLX1JFUExZIiwidGV4dCI6Ik5vIHRoYW5rcyJ9XSwidmFyaWFibGVzIjp7ImZpcnN0X25hbWUiOnsiZXhhbXBsZSI6Ik1hcmlhIn0sInByb2R1Y3RfbmFtZSI6eyJleGFtcGxlIjoiTGluZW4gU2hpcnQifSwic3RvcmVfbmFtZSI6eyJleGFtcGxlIjoiQWNtZSBTdG9yZSJ9fX0

## How to get it approved

Name the specific item and store; generic restock notes get low engagement. Only send to people who requested the alert.

## Message text

Hi {{first_name}}, the *{{product_name}}* you asked about is back in stock at {{store_name}}. We can set one aside for you.
Reply STOP to opt out

## Variables

- `{{first_name}}`: Maria
- `{{product_name}}`: Linen Shirt
- `{{store_name}}`: Acme Store

## Template JSON

```json
{
  "name": "retail_back_in_stock_store",
  "language": "en_US",
  "category": "MARKETING",
  "body": {
    "text": "Hi {{first_name}}, the *{{product_name}}* you asked about is back in stock at {{store_name}}. We can set one aside for you."
  },
  "footer": {
    "text": "Reply STOP to opt out"
  },
  "buttons": [
    {
      "type": "QUICK_REPLY",
      "text": "Hold one for me"
    },
    {
      "type": "QUICK_REPLY",
      "text": "No thanks"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "product_name": {
      "example": "Linen Shirt"
    },
    "store_name": {
      "example": "Acme Store"
    }
  }
}
```

## Create it with the Meta Cloud API

```sh
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H "Authorization: Bearer $META_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "retail_back_in_stock_store",
  "language": "en_US",
  "category": "MARKETING",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, the *{{product_name}}* you asked about is back in stock at {{store_name}}. We can set one aside for you.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "product_name",
            "example": "Linen Shirt"
          },
          {
            "param_name": "store_name",
            "example": "Acme Store"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Reply STOP to opt out"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "QUICK_REPLY",
          "text": "Hold one for me"
        },
        {
          "type": "QUICK_REPLY",
          "text": "No thanks"
        }
      ]
    }
  ]
}'
```
