# Post-processing

{% hint style="info" %}
You can use Liquid formulas in all fields described in this section.
{% endhint %}

### Tag order

Check the option *Tag exported orders with* and provide a tag to be added. Previous tags will not be overwritten.

<figure><img src="https://1315397457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MESR3wemEwg3-wBmPY1%2Fuploads%2Fgit-blob-e86ca8a1b288da6d4e9056f1a2dcf61ad599a059%2Fexporteo-add-tag-to-shopify-order.png?alt=media" alt=""><figcaption><p>Tag an order after a successful export</p></figcaption></figure>

To add more tags, separate them with commas:

<figure><img src="https://1315397457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MESR3wemEwg3-wBmPY1%2Fuploads%2Fgit-blob-519ba923eb144c2bdb6362316a9235760fb11967%2Fexporteo-add-multiple-tags-to-shopify-order.png?alt=media" alt=""><figcaption><p>Add multiple order tags</p></figcaption></figure>

You can use Liquid with variables related to an order to add tags conditionally:

<figure><img src="https://1315397457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MESR3wemEwg3-wBmPY1%2Fuploads%2Fgit-blob-58bf4b18f985b122da05673372bae83e2f4a1673%2Fexporteo-tag-shopify-order-conditionally.png?alt=media" alt=""><figcaption><p>Tag orders conditionally</p></figcaption></figure>

### Order note

Unlike tags, Exporteo overwrites the content of the order note field. To keep its previous content and add new information, use the variable `{{ order.note }}`

<figure><img src="https://1315397457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MESR3wemEwg3-wBmPY1%2Fuploads%2Fgit-blob-9a0f88acaed8c9f8c294a50e2f29e9c2563426ec%2Fexporteo-update-shopify-order-note.png?alt=media" alt=""><figcaption><p>Update order notes</p></figcaption></figure>

### Order metafield

Exporteo allows updating the order metafield after a successful export. This can be particularly useful when an order is transmitted via API, and there is a need to save the order ID created in the supplier's system.

<figure><img src="https://1315397457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MESR3wemEwg3-wBmPY1%2Fuploads%2Fgit-blob-9d7ae5a8eb1ab5014ba0616bfdd8193d79426146%2Fexporteo-update-shopify-order-metafield.png?alt=media" alt=""><figcaption><p>Update order metafield</p></figcaption></figure>

Available only for the HTTP destination channel.

### Customer metafield

Exporteo enables you to update the order metafield after a successful export. You can use this option when you need to save the customer's ID from the supplier's system.

<figure><img src="https://1315397457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MESR3wemEwg3-wBmPY1%2Fuploads%2Fgit-blob-d26550680e88423c72ccd2275ac8792dcc0d9909%2Fexporteo-update-shopify-customer-metafield.png?alt=media" alt=""><figcaption><p>Update customer metafield</p></figcaption></figure>

Available only for the HTTP destination channel. Requires adding `write_customers` scope to Exporteo.

### Save the value of a field from the API response

You can save the value of a specific field from the API response as a tag, order note, order metafield, or customer metafield. To do that use a Liquid formula. The entire response is stored in the `response` object. To fetch the value from a specific field use a dot notation, e.g.: `{{ response.customer.customer_id }}`

{% code title="API sample response" %}

```json
{
  "supplier_id": "12345",
  "order_id": "67890",
  "customer": {
    "customer_id": "09876"
  },
  "status": "Confirmed",
  "items": [
    {
      "product_id": "ABC123",
      "name": "Wireless Mouse",
      "quantity": 2,
      "price_per_unit": 25.99,
      "total_price": 51.98
    },
    {
      "product_id": "XYZ456",
      "name": "Keyboard",
      "quantity": 1,
      "price_per_unit": 45.99,
      "total_price": 45.99
    }
  ],
  "shipping": {
    "method": "Standard",
    "estimated_delivery_date": "2024-12-30"
  },
  "total_order_price": 97.97,
  "currency": "USD"
}
```

{% endcode %}
