---
title: "Connect a Shopify store with a custom-app Admin token — estimate"
method: POST
path: "/v1/messaging/connect/shopify/token/estimate"
tags: ["Commerce"]
---

# Connect a Shopify store with a custom-app Admin token — estimate

`POST /v1/messaging/connect/shopify/token/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/connect/shopify/token/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/messaging/connect/shopify/token`.

## Request body

- object
  - `shop` string, required: The myshopify.com store domain, e.g. `your-store.myshopify.com` (the bare `your-store` prefix is accepted too).
  - `accessToken` string, required: Admin API access token of the merchant-created custom app (starts with `shpat_`).

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
