> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/connected-apps/shopify/installation-guide/configuration-settings/gift-cards/gift-card-advanced-settings.md).

# Gift Card Advanced Settings

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2Ff91xpMJq3jOUiDEN0mU4%2Ftuxpi.com.1748606481.jpg?alt=media&amp;token=31995b14-b1b2-4fad-9ebb-f13d8dc1b3da" alt=""><figcaption><p>Gift Card Advanced Settings</p></figcaption></figure>

There are some advanced settings available in the gift card syncing configuration:

1. **Third-Party API Client IDs to Filter**: This field allows you to specify the client ID in case you have a third-party Shopify app generating the gift cards for you. This is required and can be found in the api\_client\_id field in the gift card created by the third-party app on Shopify.
2. **Fetch Gift Cards if Not Found**: When enabled, the system automatically drops the gift cards that are applied to an order in Shopify but do not exist in Xoro yet.
3. **Allow Gift Card sync before integration start date:** Enabling this setting will allow fetching the gift cards even if they were created before the integration start date.
4. **Allow Partial Gift Card Order Sync:** Enabling this will allow the system to drop purchased gift cards when there are item lines linked to the order.
5. **Refund Disabled/Expired Gift Card:** Enabling this will allow to create a refund for Gift Card which are disabled or expired in shopify.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/xoroerp-1/connected-apps/shopify/installation-guide/configuration-settings/gift-cards/gift-card-advanced-settings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
