# Purchase order status change

Use the variables in the list below to customize the **Purchase order status change** shopper email according to your needs. Check the 'Mandatory' column to see the variables that are required in your customized version of the e-mail.

| Variable name                                       | Description                                                                  | Test Value                                                                                                                                                                                | Mandatory |
| --------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| ALLOW\_MYACCOUNT\_PROMO                             | Include or exclude myAccount information in the email body                   | 1                                                                                                                                                                                         | No        |
| AVANGATE\_LOGO                                      | Avangate logo URL                                                            | [https://secure.avangate.com/images/e...endor\_logo.png](https://secure.avangate.com/images/email/vendor_logo.png)                                                                        | Yes       |
| BANKACCOUNT                                         | Avangate bank account                                                        | \[NLXXABNAXXXXXXXXXX (IBAN)]                                                                                                                                                              | No        |
| BANKNAME                                            | Avangate bank name                                                           | ABN AMRO Bank Amsterdam                                                                                                                                                                   | No        |
| BANKSWIFT                                           | Avangate bank swift code                                                     | ABNANL2XXX                                                                                                                                                                                | No        |
| BASE\_URL                                           | Merchant's full host                                                         | [https://secure.avangate.com](https://secure.avangate.com/)                                                                                                                               | No        |
| BUSINESS\_COMPANY                                   | Avangate company name                                                        | Avangate                                                                                                                                                                                  | Yes       |
| BUSINESS\_HOTLINE                                   | Avangate support phone                                                       | 0                                                                                                                                                                                         | No        |
| BUSINESS\_HOTLINEUS                                 | Avangate US hotline number                                                   | 0                                                                                                                                                                                         | No        |
| BUSINESS\_OPEMAIL                                   | Avangate operational email address                                           | 0                                                                                                                                                                                         | No        |
| BUSINESS\_OPFAX                                     | Avangate operational fax number                                              | 0                                                                                                                                                                                         | No        |
| BUSINESS\_SUPEMAIL                                  | Avangate support email address                                               | 0                                                                                                                                                                                         | No        |
| COMMERCIALNAME                                      | Merchant's commercial name                                                   | 0                                                                                                                                                                                         | Yes       |
| CURRENCY\_ORIGINAL                                  | Original order currency (applicable to refunds)                              | 0                                                                                                                                                                                         | No        |
| DELIVERABILITY                                      | Order delivery status                                                        | 0                                                                                                                                                                                         | No        |
| ENCRYPTED\_MERCHANT\_CODE                           | Encrypted merchant code                                                      | 0                                                                                                                                                                                         | No        |
| EXTRA\_INFO                                         | 0                                                                            | 0                                                                                                                                                                                         | No        |
| FIRSTNAME                                           | Shopper's first name used on the delivery information                        | John                                                                                                                                                                                      | No        |
| GATEWAY\_ERROR\_CODE                                | Gateway error code                                                           | <p>GW\_PROCESSING\_ERROR<br>See the full <a href="https://verifone.cloud/docs/2checkout/Documentation/11Emails/Email_variables/Gateway-Error-Code-Values">list of Possible Values</a></p> | No        |
| GATEWAY\_ERROR\_MESSAGE                             | Reason why the transaction failed. (e.g. Invalid card, insufficient funds)   | Error processing the card transaction. The card account has not been debited. Card data is invalid or incomplete.                                                                         | No        |
| HAS\_RENEWAL\_PRODUCTS                              | Flag that indicates whether at least one product has renewal settings        | 0                                                                                                                                                                                         | No        |
| HOTLINE\_NUMBERS                                    | 0                                                                            | 0                                                                                                                                                                                         | No        |
| HOTLINE\_NUMBERS.NG\_PHONE\[index1].HotlineName     | Countries where Avangate support information is available                    | 0                                                                                                                                                                                         | No        |
| HOTLINE\_NUMBERS.NG\_PHONE\[index1].HotlineValue    | Avangate phone number(s) for shopper support                                 | 0                                                                                                                                                                                         | No        |
| IS\_RENEWAL                                         | Flag that indicates whether at least one product has renewal settings        | 0                                                                                                                                                                                         | No        |
| LANGUAGE                                            | Order language (abbreviated) selected by shopper                             | en                                                                                                                                                                                        | No        |
| LASTNAME                                            | Shopper's last name used on the delivery information                         | Doe                                                                                                                                                                                       | No        |
| NAMES\_OF\_PRODUCTS                                 | Names of all products in the order, comma separated                          | 0                                                                                                                                                                                         | No        |
| ORDERDATE                                           | Order placement date                                                         | 10/9/2019                                                                                                                                                                                 | No        |
| ORDER\_AMOUNT\_ORIGINAL                             | Original order value (applicable to refunds)                                 | 10/9/2019                                                                                                                                                                                 | No        |
| ORDER\_DATE\_STANDARD\_FORMAT                       | Standard format used for the order placement date                            | 0                                                                                                                                                                                         | No        |
| ORDER\_FLOW                                         | Purchase flow used to place the order                                        | 0                                                                                                                                                                                         | No        |
| ORDER\_STATUS                                       | Order status                                                                 | 0                                                                                                                                                                                         | No        |
| PAYABLE\_TO                                         | Payee name (applicable to wire transfer)                                     | 0                                                                                                                                                                                         | No        |
| PAYMENT\_TYPE\_INFO                                 | English payment method name. Includes last four card digits (if applicable). | 0                                                                                                                                                                                         | No        |
| PO\_STATUS                                          | Status of the Purchase Order                                                 | 0                                                                                                                                                                                         | Yes       |
| PRODUCTS                                            | 0                                                                            | 0                                                                                                                                                                                         | No        |
| PRODUCTS\[index1].LICENSE\_TYPE                     | Type of purchased subscription                                               | 0                                                                                                                                                                                         | No        |
| PRODUCTS\[index1].PNAME                             | Product name                                                                 | 0                                                                                                                                                                                         | No        |
| PRODUCTS\[index1].SHORT\_DESCRIPTION                | Short product description                                                    | 0                                                                                                                                                                                         | No        |
| PRODUCTS\_DATA\[index1].IdProduct                   | Product ID number                                                            | 0                                                                                                                                                                                         | No        |
| PRODUCTS\_DATA\[index1].PRODUCT\_SHORT\_DESCRIPTION | Short product description                                                    | 0                                                                                                                                                                                         | No        |
| PRODUCTS\_NO                                        | Number of products in cart                                                   | 0                                                                                                                                                                                         | No        |
| REFNO                                               | Order reference number                                                       | 9xxxxxx                                                                                                                                                                                   | Yes       |
| RETRYLINK                                           | Payment retry link                                                           | 0                                                                                                                                                                                         | No        |
| RETRY\_LINK                                         | Payment retry link                                                           | 0                                                                                                                                                                                         | No        |
| SHOPPER\_REFERENCE\_NUMBER                          | Shopper reference number                                                     | PO12345                                                                                                                                                                                   | No        |
| UPLOADLINK                                          | File upload link                                                             | 0                                                                                                                                                                                         | No        |
| UPLOAD\_LINK                                        | File upload link                                                             | 0                                                                                                                                                                                         | No        |
| USER\_EMAIL                                         | Email address used by shopper to login/signup to myAccount                   | <example@customer-email.com>                                                                                                                                                              | No        |
| USER\_TOKEN                                         | Shopper token for Avangate myAccount access                                  | 0                                                                                                                                                                                         | No        |
| WEBSITE                                             | Website where the shopper placed the order                                   | [http://www.software-company-website.com](http://www.software-company-website.com/)                                                                                                       | Yes       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.2checkout.com/marketing/emails/email-variables/purchase-order-status-change.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
