How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Shopify Creation API

The Creation API from Shopify — 18 operation(s) for creation.

Shopify Creation API is one of 213 APIs that Shopify publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Creation. The published artifact set on APIs.io includes an OpenAPI specification, a JSON-LD context, API documentation, an API reference, and 8 JSON Schemas.

This API exposes 18 operations across 18 paths. It is described by OpenAPI 3.2.0, at version 2025-01.

Requests are made against a single base URL, https://{store}.myshopify.com/admin/api/2025-01.

18 operations 18 paths 0 schemas 12 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2025-01
Server
https://{store}.myshopify.com/admin/api/2025-01
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Shopify Creation API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Shopify-Access-Token (AccessToken). By default, every request must be authenticated.

  • AccessToken — Access token obtained via OAuth

Paths & Operations 18

Across 18 paths, the API surfaces 18 operations — 12 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Creation 18
POST
/admin/api/2020-01/price_rules/{price_rule_id}/batch.json
Shopify Creates A Discount Code Creation Job
deprecated_202001_create_price_rules_param_price_rule_id_batch 1 param body → 200
GET
/admin/api/2020-01/price_rules/{price_rule_id}/batch/{batch_id}.json
Shopify Retrieves A Discount Code Creation Job
deprecated_202001_get_price_rules_param_price_rule_id_batch_param_batch_id 2 params → 200
GET
/admin/api/2020-01/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
deprecated_202001_get_price_rules_param_price_rule_id_batch_param_batch_id_discount_codes 2 params → 200
POST
/admin/api/2020-04/price_rules/{price_rule_id}/batch.json
Shopify Creates A Discount Code Creation Job
deprecated_202004_create_price_rules_param_price_rule_id_batch 1 param body → 200
GET
/admin/api/2020-04/price_rules/{price_rule_id}/batch/{batch_id}.json
Shopify Retrieves A Discount Code Creation Job
deprecated_202004_get_price_rules_param_price_rule_id_batch_param_batch_id 2 params → 200
GET
/admin/api/2020-04/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
deprecated_202004_get_price_rules_param_price_rule_id_batch_param_batch_id_discount_codes 2 params → 200
POST
/admin/api/2020-07/price_rules/{price_rule_id}/batch.json
Shopify Creates A Discount Code Creation Job
deprecated_202007_create_price_rules_param_price_rule_id_batch 1 param body → 200
GET
/admin/api/2020-07/price_rules/{price_rule_id}/batch/{batch_id}.json
Shopify Retrieves A Discount Code Creation Job
deprecated_202007_get_price_rules_param_price_rule_id_batch_param_batch_id 2 params → 200
GET
/admin/api/2020-07/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
deprecated_202007_get_price_rules_param_price_rule_id_batch_param_batch_id_discount_codes 2 params → 200
POST
/admin/api/2020-10/price_rules/{price_rule_id}/batch.json
Shopify Creates A Discount Code Creation Job
create_price_rules_param_price_rule_id_batch 1 param body → 200
GET
/admin/api/2020-10/price_rules/{price_rule_id}/batch/{batch_id}.json
Shopify Retrieves A Discount Code Creation Job
get_price_rules_param_price_rule_id_batch_param_batch_id 2 params → 200
GET
/admin/api/2020-10/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
get_price_rules_param_price_rule_id_batch_param_batch_id_discount_codes 2 params → 200
POST
/admin/api/2021-01/price_rules/{price_rule_id}/batch.json
Shopify Creates A Discount Code Creation Job
deprecated_202101_create_price_rules_param_price_rule_id_batch 1 param body → 200
GET
/admin/api/2021-01/price_rules/{price_rule_id}/batch/{batch_id}.json
Shopify Retrieves A Discount Code Creation Job
deprecated_202101_get_price_rules_param_price_rule_id_batch_param_batch_id 2 params → 200
GET
/admin/api/2021-01/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
deprecated_202101_get_price_rules_param_price_rule_id_batch_param_batch_id_discount_codes 2 params → 200
POST
/admin/api/unstable/price_rules/{price_rule_id}/batch.json
Shopify Creates A Discount Code Creation Job
deprecated_unstable_create_price_rules_param_price_rule_id_batch 1 param body → 200
GET
/admin/api/unstable/price_rules/{price_rule_id}/batch/{batch_id}.json
Shopify Retrieves A Discount Code Creation Job
deprecated_unstable_get_price_rules_param_price_rule_id_batch_param_batch_id 2 params → 200
GET
/admin/api/unstable/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json
Shopify Retrieves A List Of Discount Codes For A Discount Code Creation Job
deprecated_unstable_get_price_rules_param_price_rule_id_batch_param_batch_id_discount_codes 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

shopify-creation-api-openapi.yml Raw ↑

Other APIs Shopify publishes across the network.

Shopify GraphQL Admin API
Shopify Storefront API
Shopify Customer Account API
Shopify Partner API
Shopify Payments Apps API
Shopify Liquid API
Shopify Functions API
Shopify Discount Function API
Shopify Webhooks API
Shopify App Bridge
Shopify App Home API
Shopify Checkout UI Extensions API
Where this information came from

This is an independent, third-party profile of Shopify Creation API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.