# Zernio Commerce API

**Canonical:** https://apis.io/apis/zernio-com/zernio-com-commerce-api/  
**Provider:** Zernio — https://apis.io/providers/zernio-com/  
**Base URL:** https://zernio.com/api  
**Documentation:** https://docs.zernio.com/api-reference

Zernio Commerce API is one of 94 APIs that [Zernio](https://apis.io/providers/zernio-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Commerce. The published artifact set on APIs.io includes an OpenAPI specification.

One API over every connected store: write against it once and it works for each supported platform. **Platforms:** Shopify, and WooCommerce on self-hosted WordPress sites (a connected WordPress account is the store; commerce objects report `platform: woocommerce`). TikTok Shop and more follow. Each operation lists its platforms in `x-platforms`. Pick the store with `accountId` (a query parameter on reads, a body field on writes). **Conventions shared by every Commerce endpoint:** - Money is `{ amount, currency }` (CommerceMoney): amount as a decimal string, currency never null. Write bodies take a bare decimal amount in the store's currency. - Timestamps are ISO 8601 UTC. - `status` uses the Zernio vocabulary; the platform's raw value is always returned as `platformStatus`. - Lists return `{ <resource>, nextCursor }` with an opaque cursor. - An operation a platform cannot serve answers 400 with code `platform_not_supported`. `GET /v1/commerce/store` lists a store's `capabilities` up front. All data lives on the platform; Zernio proxies it and stores nothing.

## Operations (60 of 85)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/commerce/store` | Get a store |
| GET | `/v1/commerce/orders` | List orders |
| GET | `/v1/commerce/orders/{orderId}` | Get an order |
| PATCH | `/v1/commerce/orders/{orderId}` | Update an order's shipping address |
| POST | `/v1/commerce/orders/{orderId}/refunds` | Refund an order |
| POST | `/v1/commerce/orders/{orderId}/edits` | Edit an order |
| POST | `/v1/commerce/orders/{orderId}/cancel` | Cancel an order |
| POST | `/v1/commerce/draft-orders` | Create a draft order |
| GET | `/v1/commerce/draft-orders/{draftOrderId}` | Get a draft order |
| POST | `/v1/commerce/draft-orders/{draftOrderId}/invoice` | Send a draft order invoice |
| GET | `/v1/commerce/customers` | List customers |
| GET | `/v1/commerce/customers/{customerId}` | Get a customer |
| GET | `/v1/commerce/products` | List products |
| POST | `/v1/commerce/products` | Create a product |
| POST | `/v1/commerce/products/state` | Activate, deactivate, archive or delete products |
| GET | `/v1/commerce/products/{productId}` | Get a product |
| PATCH | `/v1/commerce/products/{productId}` | Update a product |
| POST | `/v1/commerce/products/{productId}/price` | Update variant prices |
| GET | `/v1/commerce/collections` | List collections |
| POST | `/v1/commerce/collections` | Create a collection |
| GET | `/v1/commerce/collections/{collectionId}` | Get a collection |
| PATCH | `/v1/commerce/collections/{collectionId}` | Update a collection |
| DELETE | `/v1/commerce/collections/{collectionId}` | Delete a collection |
| POST | `/v1/commerce/collections/{collectionId}/products` | Add or remove products in a collection |
| POST | `/v1/commerce/products/{productId}/variants` | Add variants |
| DELETE | `/v1/commerce/products/{productId}/variants` | Delete variants |
| POST | `/v1/commerce/products/{productId}/options` | Add options |
| DELETE | `/v1/commerce/products/{productId}/options` | Delete options |
| POST | `/v1/commerce/products/{productId}/images` | Add images |
| DELETE | `/v1/commerce/products/{productId}/images` | Remove images |
| POST | `/v1/commerce/products/{productId}/images/reorder` | Reorder images |
| POST | `/v1/commerce/products/{productId}/duplicate` | Duplicate a product |
| GET | `/v1/commerce/products/{productId}/metafields` | List product metafields |
| PUT | `/v1/commerce/products/{productId}/metafields` | Set product metafields |
| DELETE | `/v1/commerce/products/{productId}/metafields` | Delete product metafields |
| POST | `/v1/commerce/products/{productId}/channels` | Publish or unpublish a product |
| GET | `/v1/commerce/collections/{collectionId}/metafields` | List collection metafields |
| PUT | `/v1/commerce/collections/{collectionId}/metafields` | Set collection metafields |
| DELETE | `/v1/commerce/collections/{collectionId}/metafields` | Delete collection metafields |
| POST | `/v1/commerce/collections/{collectionId}/channels` | Publish or unpublish a collection |
| POST | `/v1/commerce/products/tags` | Add or remove tags in bulk |
| POST | `/v1/commerce/collections/{collectionId}/reorder` | Reorder products in a collection |
| GET | `/v1/commerce/pages` | List pages |
| POST | `/v1/commerce/pages` | Create a page |
| GET | `/v1/commerce/pages/{pageId}` | Get a page |
| PATCH | `/v1/commerce/pages/{pageId}` | Update a page |
| DELETE | `/v1/commerce/pages/{pageId}` | Delete a page |
| GET | `/v1/commerce/locations` | List locations |
| GET | `/v1/commerce/inventory` | Get a product's stock |
| POST | `/v1/commerce/products/{productId}/inventory` | Set or adjust stock |
| GET | `/v1/commerce/channels` | List sales channels |
| GET | `/v1/commerce/discounts` | List discounts |
| POST | `/v1/commerce/discounts` | Create a discount |
| GET | `/v1/commerce/discounts/{discountId}` | Get a discount |
| PATCH | `/v1/commerce/discounts/{discountId}` | Update a discount |
| DELETE | `/v1/commerce/discounts/{discountId}` | Delete a discount |
| POST | `/v1/commerce/discounts/{discountId}/state` | Activate or deactivate a discount |
| POST | `/v1/commerce/discounts/{discountId}/codes` | Add codes to a discount |
| GET | `/v1/commerce/redirects` | List URL redirects |
| POST | `/v1/commerce/redirects` | Create a URL redirect |

…and 25 more operations. They are listed in full on the page.

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/zernio-com/openapi/zernio-com-commerce-api-openapi.yml

## Other Zernio APIs (12)

- [Zernio Account Groups API](https://apis.io/apis/zernio-com/zernio-com-account-groups-api/)
- [Zernio Account Settings API](https://apis.io/apis/zernio-com/zernio-com-account-settings-api/)
- [Zernio Accounts API](https://apis.io/apis/zernio-com/zernio-com-accounts-api/)
- [Zernio Ad Accounts API](https://apis.io/apis/zernio-com/zernio-com-ad-accounts-api/)
- [Zernio Ad Audiences API](https://apis.io/apis/zernio-com/zernio-com-ad-audiences-api/)
- [Zernio Ad Campaign Results API](https://apis.io/apis/zernio-com/zernio-com-ad-campaign-results-api/)
- [Zernio Ad Campaigns API](https://apis.io/apis/zernio-com/zernio-com-ad-campaigns-api/)
- [Zernio Ad Changes API](https://apis.io/apis/zernio-com/zernio-com-ad-changes-api/)
- [Zernio Ad Creatives API](https://apis.io/apis/zernio-com/zernio-com-ad-creatives-api/)
- [Zernio Ad Insights API](https://apis.io/apis/zernio-com/zernio-com-ad-insights-api/)
- [Zernio Ad Library API](https://apis.io/apis/zernio-com/zernio-com-ad-library-api/)
- [Zernio Ad Rules API](https://apis.io/apis/zernio-com/zernio-com-ad-rules-api/)

## Tags

Commerce

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/zernio-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/zernio-com/zernio-com-commerce-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/zernio-com/.
