# API

Below you will find the keys to generate secret payloads for adding or updating a channel via the [Script API](/api/api/script.md).

### SHOPIFY\_STORE\_ID

In this secret, you would store the store ID associated with the CRM.\
\
**Example value**\
mystore\
\
**Type**\
IDENTIFIER\
\
**Optional**\
false

### SHOPIFY\_APP\_CLIENT\_ID

In this secret, you would store the Client ID associated with your custom app. \
\
**Example value**\
04774905dd939deb4567e7ec5e4ef234\
\
**Type**\
IDENTIFIER\
\
**Optional**\
false

### SHOPIFY\_APP\_SECRET

In this secret, you would store the Client Secret associated with your custom app. \
\
**Example value**\
shpss\_k2c1571b43c34567e618b507bf36f4rd\
\
**Type**\
PASSWORD\
\
**Optional**\
false

### SHOPIFY\_SALES\_CHANNELS

In this secret, you would define which online sales channels you would like to use the backup feature on, comma-separated.\
\
**Example value**\
580111,600143\
\
**Type**\
TEXT\
\
**Optional**\
true

### SHOPIFY\_OFFLINE\_SALES\_CHANNELS

In this secret, you would define which offline sales channels you would like to use the backup feature on, comma-separated.\
\
**Example value**\
530110\
\
**Type**\
TEXT\
\
**Optional**\
true


---

# 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.edgetag.io/crm-connections/shopify/api.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.
