> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/connectors/pos/cegid/developer-reference/cegid-retail-y2-apis.md).

# Cegid Retail Y2 APIs

Review the Cegid Retail Y2 services used by The Wallet Crew and grant service-user access only for enabled wallet journeys.

This page lists the Cegid Retail Y2 services used by the connector and their purpose. It supports least-privilege service-user access for each enabled wallet journey.

For connector setup, see [Configure the Cegid Retail Y2 connector](https://docs.thewalletcrew.io/connectors/pos/cegid/setup-and-configuration/connect-with-cegid-retail-y2.md). For the customer field synchronization these services carry, see [Cegid Retail Y2 fields mapping](https://docs.thewalletcrew.io/connectors/pos/cegid/customer-data-and-loyalty/cegid-retail-y2-fields-mapping.md).

## At a glance

The connector uses two integration patterns. Web service calls retrieve or update data on demand, and business notifications signal events that should trigger a refresh. Most services are SOAP; receipt generation and reference data are REST.

| Service                            | Protocol | Operations                                                                                                                      | Needed when                                                                                                                          |
| ---------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Customer                           | SOAP     | Search, add, update, with the consent fields that travel with the record                                                        | Every journey with an identified customer                                                                                            |
| Loyalty                            | SOAP     | List cards, create, read (loyalty service); list programs at a store (loyalty engine)                                           | Loyalty cards on passes                                                                                                              |
| Cash operations                    | SOAP     | List instruments, read an available amount                                                                                      | Gift cards, certificates, deposits, stored value                                                                                     |
| Sale documents                     | SOAP     | Read by key or external reference, list headers, create                                                                         | Receipt and order journeys                                                                                                           |
| Sales report                       | REST     | Request, poll, download a receipt PDF                                                                                           | Receipt PDFs                                                                                                                         |
| Reference data                     | REST     | Countries, regions, languages, civilities, to populate enrolment form options with the values of the brand's own Cegid database | Enrolment form options                                                                                                               |
| Stores and salespersons            | SOAP     | List stores, list salespersons                                                                                                  | Layouts displaying an advisor                                                                                                        |
| Business notification subscription | SOAP     | Read, create, update, delete                                                                                                    | [Business notifications](https://docs.thewalletcrew.io/connectors/pos/cegid/events-and-operations/business-notifications.md) enabled |
| Scheduled tasks                    | SOAP     | List, trigger                                                                                                                   | Flows that run a Cegid scheduled task                                                                                                |
| Customer orders                    | SOAP     | Order data                                                                                                                      | Click-and-collect journeys                                                                                                           |

{% hint style="info" %}
Only the services supporting the journeys in scope need to be granted. A program covering enrolment and loyalty display, with no receipt journey, does not require sale documents, sales report, or customer orders.
{% endhint %}


---

# 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.thewalletcrew.io/connectors/pos/cegid/developer-reference/cegid-retail-y2-apis.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.
