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

Commerce Layer coupon_codes_promotion_rules API

resource type

Commerce Layer coupon_codes_promotion_rules API is one of 148 APIs that Commerce Layer publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, rate-limit docs, a JSON-LD context, and 2 JSON Schemas.

This API exposes 5 operations across 2 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 7.10.1.

Requests are made against 3 base URLs: https://{your_organization_slug}.commercelayer.io/api, https://core.commercelayer.io/users/sign_in, https://docs.commercelayer.io/api.

5 operations 2 paths 13 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
7.10.1
Base URL
https://{your-organization-slug}.commercelayer.io/api
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Commerce Layer coupon_codes_promotion_rules API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

coupon_codes_promotion_rules 5

resource type

GET
/coupon_codes_promotion_rules
List all coupon codes promotion rules
GET/coupon_codes_promotion_rules → 200
POST
/coupon_codes_promotion_rules
Create a coupon codes promotion rule
POST/coupon_codes_promotion_rules body → 201
GET
/coupon_codes_promotion_rules/{couponCodesPromotionRuleId}
Retrieve a coupon codes promotion rule
GET/coupon_codes_promotion_rules/couponCodesPromotionRuleId 1 param → 200
PATCH
/coupon_codes_promotion_rules/{couponCodesPromotionRuleId}
Update a coupon codes promotion rule
PATCH/coupon_codes_promotion_rules/couponCodesPromotionRuleId 1 param body → 200
DELETE
/coupon_codes_promotion_rules/{couponCodesPromotionRuleId}
Delete a coupon codes promotion rule
DELETE/coupon_codes_promotion_rules/couponCodesPromotionRuleId 1 param → 204

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are freeGiftPromotion (1 property), percentageDiscountPromotion (1 property), couponCodesPromotionRuleResponseList (1 property), buyXPayYPromotion (1 property). Each schema is shown below with its type and property counts.

freeGiftPromotion
object
1 property
externalPromotion
object
1 property
fixedPricePromotion
object
1 property
couponCodesPromotionRuleUpdate
object
1 property 1 required
couponCodesPromotionRuleResponse
object
1 property
couponCodesPromotionRuleCreate
object
1 property 1 required
couponCodesPromotionRule
object
1 property
freeShippingPromotion
object
1 property
fixedAmountPromotion
object
1 property
buyXPayYPromotion
object
1 property
couponCodesPromotionRuleResponseList
object
1 property
percentageDiscountPromotion
object
1 property
flexPromotion
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

commerce-layer-coupon-codes-promotion-rules-api-openapi.yml Raw ↑

Other APIs Commerce Layer publishes across the network.

Commerce Layer addresses API
Commerce Layer adjustments API
Commerce Layer adyen_gateways API
Commerce Layer adyen_payments API
Commerce Layer analysis API
Commerce Layer api_credentials API
Commerce Layer application API
Commerce Layer application_memberships API
Commerce Layer attachments API
Commerce Layer authorizations API
Commerce Layer avalara_accounts API
Commerce Layer axerve_gateways API
Where this information came from

This is an independent, third-party profile of Commerce Layer coupon_codes_promotion_rules 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.