Skip to main content

How to prepare an API product source

With API Pull, LiVi retrieves a complete catalog from an agreed HTTPS address provided by the store. This method is suitable when a developer can prepare compatible JSON and separate read-only access.

What to ask your developer to prepare​

  1. One HTTPS URL for a GET request. It returns the complete catalog as JSON without redirects.
  2. A Bearer token with permission to read products, but no access to payments or orders.
  3. Source and version metadata, currency, update time, and products[] and categories[] arrays.
  4. Supported product IDs, names, prices and categories that match the category list.

Giving LiVi the address of “our store API” is not enough. Paginated APIs, GraphQL, XML, OAuth or arbitrary JSON structures are not supported without an adapter.

Connecting and checking the source​

In the available workflow, the source is registered for a specific store. The technical contract distinguishes TEST, which validates the source without publishing it, from SYNC, which retrieves a new snapshot for further processing. A successful HTTP response alone does not mean the products are ready in AISA.

Do not assume automatic publication or periodic synchronization unless those capabilities have been explicitly confirmed for your connection.

What is transferred​

Store provides HTTPS GET /catalog-snapshot.json
LiVi reads the complete JSON response using Bearer access
→ validates products, categories and version
→ prepares the store catalog for publication

LiVi makes this request to the store's source. It is not a public API for issuing commands to AISA. Never place the token in a chat, CSV file or public example.

Next: Give your developer the exact API Pull contract.

Store languages​

The interface language, the actual language of product names and the preferred response language are configured separately. Before a new CSV or API upload, explicitly select the language of your products. For an existing store, change it in Settings. If an import is in progress, wait for it to finish; if there's a conflict, reload the saved settings. Reopen AISA to apply language changes to the conversation. Product names are not translated automatically.