Commerce Layer has_many API

relationship kind

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

commerce-layer-has-many-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Commerce Layer addresses has_many API
  version: 7.10.1
  contact:
    name: API Support
    url: https://commercelayer.io
    email: support@commercelayer.io
  description: Headless Commerce for Global Brands.
servers:
- url: https://{your_organization_slug}.commercelayer.io/api
  description: API
- url: https://core.commercelayer.io/users/sign_in
  description: Sign in
- url: https://docs.commercelayer.io/api
  description: API reference
security:
- bearerAuth: []
tags:
- name: has_many
  description: relationship kind
paths:
  /addresses/{addressId}/events:
    get:
      operationId: GET/addressId/events
      summary: Retrieve the events associated to the address
      description: Retrieve the events associated to the address
      tags:
      - has_many
      parameters:
      - name: addressId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the address
  /addresses/{addressId}/tags:
    get:
      operationId: GET/addressId/tags
      summary: Retrieve the tags associated to the address
      description: Retrieve the tags associated to the address
      tags:
      - has_many
      parameters:
      - name: addressId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The tags associated to the address
  /addresses/{addressId}/event_stores:
    get:
      operationId: GET/addressId/event_stores
      summary: Retrieve the event stores associated to the address
      description: Retrieve the event stores associated to the address
      tags:
      - has_many
      parameters:
      - name: addressId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the address
  /adjustments/{adjustmentId}/event_stores:
    get:
      operationId: GET/adjustmentId/event_stores
      summary: Retrieve the event stores associated to the adjustment
      description: Retrieve the event stores associated to the adjustment
      tags:
      - has_many
      parameters:
      - name: adjustmentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the adjustment
  /adyen_gateways/{adyenGatewayId}/payment_methods:
    get:
      operationId: GET/adyenGatewayId/payment_methods
      summary: Retrieve the payment methods associated to the adyen gateway
      description: Retrieve the payment methods associated to the adyen gateway
      tags:
      - has_many
      parameters:
      - name: adyenGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_methods associated to the adyen gateway
  /adyen_gateways/{adyenGatewayId}/event_stores:
    get:
      operationId: GET/adyenGatewayId/event_stores
      summary: Retrieve the event stores associated to the adyen gateway
      description: Retrieve the event stores associated to the adyen gateway
      tags:
      - has_many
      parameters:
      - name: adyenGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the adyen gateway
  /adyen_gateways/{adyenGatewayId}/adyen_payments:
    get:
      operationId: GET/adyenGatewayId/adyen_payments
      summary: Retrieve the adyen payments associated to the adyen gateway
      description: Retrieve the adyen payments associated to the adyen gateway
      tags:
      - has_many
      parameters:
      - name: adyenGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The adyen_payments associated to the adyen gateway
  /adyen_payments/{adyenPaymentId}/event_stores:
    get:
      operationId: GET/adyenPaymentId/event_stores
      summary: Retrieve the event stores associated to the adyen payment
      description: Retrieve the event stores associated to the adyen payment
      tags:
      - has_many
      parameters:
      - name: adyenPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the adyen payment
  /attachments/{attachmentId}/event_stores:
    get:
      operationId: GET/attachmentId/event_stores
      summary: Retrieve the event stores associated to the attachment
      description: Retrieve the event stores associated to the attachment
      tags:
      - has_many
      parameters:
      - name: attachmentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the attachment
  /authorizations/{authorizationId}/attachments:
    get:
      operationId: GET/authorizationId/attachments
      summary: Retrieve the attachments associated to the authorization
      description: Retrieve the attachments associated to the authorization
      tags:
      - has_many
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the authorization
  /authorizations/{authorizationId}/events:
    get:
      operationId: GET/authorizationId/events
      summary: Retrieve the events associated to the authorization
      description: Retrieve the events associated to the authorization
      tags:
      - has_many
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the authorization
  /authorizations/{authorizationId}/event_stores:
    get:
      operationId: GET/authorizationId/event_stores
      summary: Retrieve the event stores associated to the authorization
      description: Retrieve the event stores associated to the authorization
      tags:
      - has_many
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the authorization
  /authorizations/{authorizationId}/captures:
    get:
      operationId: GET/authorizationId/captures
      summary: Retrieve the captures associated to the authorization
      description: Retrieve the captures associated to the authorization
      tags:
      - has_many
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The captures associated to the authorization
  /authorizations/{authorizationId}/voids:
    get:
      operationId: GET/authorizationId/voids
      summary: Retrieve the voids associated to the authorization
      description: Retrieve the voids associated to the authorization
      tags:
      - has_many
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The voids associated to the authorization
  /avalara_accounts/{avalaraAccountId}/markets:
    get:
      operationId: GET/avalaraAccountId/markets
      summary: Retrieve the markets associated to the avalara account
      description: Retrieve the markets associated to the avalara account
      tags:
      - has_many
      parameters:
      - name: avalaraAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The markets associated to the avalara account
  /avalara_accounts/{avalaraAccountId}/attachments:
    get:
      operationId: GET/avalaraAccountId/attachments
      summary: Retrieve the attachments associated to the avalara account
      description: Retrieve the attachments associated to the avalara account
      tags:
      - has_many
      parameters:
      - name: avalaraAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the avalara account
  /avalara_accounts/{avalaraAccountId}/events:
    get:
      operationId: GET/avalaraAccountId/events
      summary: Retrieve the events associated to the avalara account
      description: Retrieve the events associated to the avalara account
      tags:
      - has_many
      parameters:
      - name: avalaraAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the avalara account
  /avalara_accounts/{avalaraAccountId}/event_stores:
    get:
      operationId: GET/avalaraAccountId/event_stores
      summary: Retrieve the event stores associated to the avalara account
      description: Retrieve the event stores associated to the avalara account
      tags:
      - has_many
      parameters:
      - name: avalaraAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the avalara account
  /avalara_accounts/{avalaraAccountId}/tax_categories:
    get:
      operationId: GET/avalaraAccountId/tax_categories
      summary: Retrieve the tax categories associated to the avalara account
      description: Retrieve the tax categories associated to the avalara account
      tags:
      - has_many
      parameters:
      - name: avalaraAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The tax_categories associated to the avalara account
  /axerve_gateways/{axerveGatewayId}/payment_methods:
    get:
      operationId: GET/axerveGatewayId/payment_methods
      summary: Retrieve the payment methods associated to the axerve gateway
      description: Retrieve the payment methods associated to the axerve gateway
      tags:
      - has_many
      parameters:
      - name: axerveGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_methods associated to the axerve gateway
  /axerve_gateways/{axerveGatewayId}/event_stores:
    get:
      operationId: GET/axerveGatewayId/event_stores
      summary: Retrieve the event stores associated to the axerve gateway
      description: Retrieve the event stores associated to the axerve gateway
      tags:
      - has_many
      parameters:
      - name: axerveGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the axerve gateway
  /axerve_gateways/{axerveGatewayId}/axerve_payments:
    get:
      operationId: GET/axerveGatewayId/axerve_payments
      summary: Retrieve the axerve payments associated to the axerve gateway
      description: Retrieve the axerve payments associated to the axerve gateway
      tags:
      - has_many
      parameters:
      - name: axerveGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The axerve_payments associated to the axerve gateway
  /axerve_payments/{axervePaymentId}/event_stores:
    get:
      operationId: GET/axervePaymentId/event_stores
      summary: Retrieve the event stores associated to the axerve payment
      description: Retrieve the event stores associated to the axerve payment
      tags:
      - has_many
      parameters:
      - name: axervePaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the axerve payment
  /bing_geocoders/{bingGeocoderId}/markets:
    get:
      operationId: GET/bingGeocoderId/markets
      summary: Retrieve the markets associated to the bing geocoder
      description: Retrieve the markets associated to the bing geocoder
      tags:
      - has_many
      parameters:
      - name: bingGeocoderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The markets associated to the bing geocoder
  /bing_geocoders/{bingGeocoderId}/addresses:
    get:
      operationId: GET/bingGeocoderId/addresses
      summary: Retrieve the addresses associated to the bing geocoder
      description: Retrieve the addresses associated to the bing geocoder
      tags:
      - has_many
      parameters:
      - name: bingGeocoderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The addresses associated to the bing geocoder
  /bing_geocoders/{bingGeocoderId}/attachments:
    get:
      operationId: GET/bingGeocoderId/attachments
      summary: Retrieve the attachments associated to the bing geocoder
      description: Retrieve the attachments associated to the bing geocoder
      tags:
      - has_many
      parameters:
      - name: bingGeocoderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the bing geocoder
  /bing_geocoders/{bingGeocoderId}/event_stores:
    get:
      operationId: GET/bingGeocoderId/event_stores
      summary: Retrieve the event stores associated to the bing geocoder
      description: Retrieve the event stores associated to the bing geocoder
      tags:
      - has_many
      parameters:
      - name: bingGeocoderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the bing geocoder
  /braintree_gateways/{braintreeGatewayId}/payment_methods:
    get:
      operationId: GET/braintreeGatewayId/payment_methods
      summary: Retrieve the payment methods associated to the braintree gateway
      description: Retrieve the payment methods associated to the braintree gateway
      tags:
      - has_many
      parameters:
      - name: braintreeGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_methods associated to the braintree gateway
  /braintree_gateways/{braintreeGatewayId}/event_stores:
    get:
      operationId: GET/braintreeGatewayId/event_stores
      summary: Retrieve the event stores associated to the braintree gateway
      description: Retrieve the event stores associated to the braintree gateway
      tags:
      - has_many
      parameters:
      - name: braintreeGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the braintree gateway
  /braintree_gateways/{braintreeGatewayId}/braintree_payments:
    get:
      operationId: GET/braintreeGatewayId/braintree_payments
      summary: Retrieve the braintree payments associated to the braintree gateway
      description: Retrieve the braintree payments associated to the braintree gateway
      tags:
      - has_many
      parameters:
      - name: braintreeGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The braintree_payments associated to the braintree gateway
  /braintree_payments/{braintreePaymentId}/event_stores:
    get:
      operationId: GET/braintreePaymentId/event_stores
      summary: Retrieve the event stores associated to the braintree payment
      description: Retrieve the event stores associated to the braintree payment
      tags:
      - has_many
      parameters:
      - name: braintreePaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the braintree payment
  /bundles/{bundleId}/skus:
    get:
      operationId: GET/bundleId/skus
      summary: Retrieve the skus associated to the bundle
      description: Retrieve the skus associated to the bundle
      tags:
      - has_many
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The skus associated to the bundle
  /bundles/{bundleId}/attachments:
    get:
      operationId: GET/bundleId/attachments
      summary: Retrieve the attachments associated to the bundle
      description: Retrieve the attachments associated to the bundle
      tags:
      - has_many
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the bundle
  /bundles/{bundleId}/events:
    get:
      operationId: GET/bundleId/events
      summary: Retrieve the events associated to the bundle
      description: Retrieve the events associated to the bundle
      tags:
      - has_many
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the bundle
  /bundles/{bundleId}/tags:
    get:
      operationId: GET/bundleId/tags
      summary: Retrieve the tags associated to the bundle
      description: Retrieve the tags associated to the bundle
      tags:
      - has_many
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The tags associated to the bundle
  /bundles/{bundleId}/event_stores:
    get:
      operationId: GET/bundleId/event_stores
      summary: Retrieve the event stores associated to the bundle
      description: Retrieve the event stores associated to the bundle
      tags:
      - has_many
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the bundle
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/coupons:
    get:
      operationId: GET/buyXPayYPromotionId/coupons
      summary: Retrieve the coupons associated to the buy x pay y promotion
      description: Retrieve the coupons associated to the buy x pay y promotion
      tags:
      - has_many
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The coupons associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/attachments:
    get:
      operationId: GET/buyXPayYPromotionId/attachments
      summary: Retrieve the attachments associated to the buy x pay y promotion
      description: Retrieve the attachments associated to the buy x pay y promotion
      tags:
      - has_many
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/events:
    get:
      operationId: GET/buyXPayYPromotionId/events
      summary: Retrieve the events associated to the buy x pay y promotion
      description: Retrieve the events associated to the buy x pay y promotion
      tags:
      - has_many
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/tags:
    get:
      operationId: GET/buyXPayYPromotionId/tags
      summary: Retrieve the tags associated to the buy x pay y promotion
      description: Retrieve the tags associated to the buy x pay y promotion
      tags:
      - has_many
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The tags associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/event_stores:
    get:
      operationId: GET/buyXPayYPromotionId/event_stores
      summary: Retrieve the event stores associated to the buy x pay y promotion
      description: Retrieve the event stores associated to the buy x pay y promotion
      tags:
      - has_many
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/skus:
    get:
      operationId: GET/buyXPayYPromotionId/skus
      summary: Retrieve the skus associated to the buy x pay y promotion
      description: Retrieve the skus associated to the buy x pay y promotion
      tags:
      - has_many
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The skus associated to the buy x pay y promotion
  /captures/{captureId}/attachments:
    get:
      operationId: GET/captureId/attachments
      summary: Retrieve the attachments associated to the capture
      description: Retrieve the attachments associated to the capture
      tags:
      - has_many
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the capture
  /captures/{captureId}/events:
    get:
      operationId: GET/captureId/events
      summary: Retrieve the events associated to the capture
      description: Retrieve the events associated to the capture
      tags:
      - has_many
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the capture
  /captures/{captureId}/event_stores:
    get:
      operationId: GET/captureId/event_stores
      summary: Retrieve the event stores associated to the capture
      description: Retrieve the event stores associated to the capture
      tags:
      - has_many
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the capture
  /captures/{captureId}/refunds:
    get:
      operationId: GET/captureId/refunds
      summary: Retrieve the refunds associated to the capture
      description: Retrieve the refunds associated to the capture
      tags:
      - has_many
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The refunds associated to the capture
  /carrier_accounts/{carrierAccountId}/attachments:
    get:
      operationId: GET/carrierAccountId/attachments
      summary: Retrieve the attachments associated to the carrier account
      description: Retrieve the attachments associated to the carrier account
      tags:
      - has_many
      parameters:
      - name: carrierAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the carrier account
  /carrier_accounts/{carrierAccountId}/event_stores:
    get:
      operationId: GET/carrierAccountId/event_stores
      summary: Retrieve the event stores associated to the carrier account
      description: Retrieve the event stores associated to the carrier account
      tags:
      - has_many
      parameters:
      - name: carrierAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the carrier account
  /checkout_com_gateways/{checkoutComGatewayId}/payment_methods:
    get:
      operationId: GET/checkoutComGatewayId/payment_methods
      summary: Retrieve the payment methods associated to the checkout.com gateway
      description: Retrieve the payment methods associated to the checkout.com gateway
      tags:
      - has_many
      parameters:
      - name: checkoutComGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_methods associated to the checkout.com gateway
  /checkout_com_gateways/{checkoutComGatewayId}/event_stores:
    get:
      operationId: GET/checkoutComGatewayId/event_stores
      summary: Retrieve the event stores associated to the checkout.com gateway
      description: Retrieve the event stores associated to the checkout.com gateway
      tags:
      - has_many
      parameters:
      - name: checkoutComGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the checkout.com gateway
  /checkout_com_gateways/{checkoutComGatewayId}/checkout_com_payments:
    get:
      operationId: GET/checkoutComGatewayId/checkout_com_payments
      summary: Retrieve the checkout com payments associated to the checkout.com gateway
      description: Retrieve the checkout com payments associated to the checkout.com gateway
      tags:
      - has_many
      parameters:
      - name: checkoutComGatewayId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The checkout_com_payments associated to the checkout.com gateway
  /checkout_com_payments/{checkoutComPaymentId}/event_stores:
    get:
      operationId: GET/checkoutComPaymentId/event_stores
      summary: Retrieve the event stores associated to the checkout.com payment
      description: Retrieve the event stores associated to the checkout.com payment
      tags:
      - has_many
      parameters:
      - name: checkoutComPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the checkout.com payment
  /cleanups/{cleanupId}/events:
    get:
      operationId: GET/cleanupId/events
      summary: Retrieve the events associated to the cleanup
      description: Retrieve the events associated to the cleanup
      tags:
      - has_many
      parameters:
      - name: cleanupId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The events associated to the cleanup
  /cleanups/{cleanupId}/event_stores:
    get:
      operationId: GET/cleanupId/event_stores
      summary: Retrieve the event stores associated to the cleanup
      description: Retrieve the event stores associated to the cleanup
      tags:
      - has_many
      parameters:
      - name: cleanupId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the cleanup
  /coupon_codes_promotion_rules/{couponCodesPromotionRuleId}/event_stores:
    get:
      operationId: GET/couponCodesPromotionRuleId/event_stores
      summary: Retrieve the event stores associated to the coupon codes promotion rule
      description: Retrieve the event stores associated to the coupon codes promotion rule
      tags:
      - has_many
      parameters:
      - name: couponCodesPromotionRuleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the coupon codes promotion rule
  /coupon_codes_promotion_rules/{couponCodesPromotionRuleId}/coupons:
    get:
      operationId: GET/couponCodesPromotionRuleId/coupons
      summary: Retrieve the coupons associated to the coupon codes promotion rule
      description: Retrieve the coupons associated to the coupon codes promotion rule
      tags:
      - has_many
      parameters:
      - name: couponCodesPromotionRuleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The coupons associated to the coupon codes promotion rule
  /coupon_recipients/{couponRecipientId}/event_stores:
    get:
      operationId: GET/couponRecipientId/event_stores
      summary: Retrieve the event stores associated to the coupon recipient
      description: Retrieve the event stores associated to the coupon recipient
      tags:
      - has_many
      parameters:
      - name: couponRecipientId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The event_stores associated to the coupon recipient
  /coupon_recipients/{couponRecipientId}/attachments:
    get:
      operationId: GET/couponRecipientId/attachments
      summary: Retrieve the attachments associated to the coupon recipient
      description: Retrieve the attachments associated to the coupon recipient
      tags:
      - has_many
      parameters:
      - name: couponRecipientId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the coupon recipient
  /coupons/{couponId}/events:
    get:
   

# --- truncated at 32 KB (237 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/commerce-layer/refs/heads/main/openapi/commerce-layer-has-many-api-openapi.yml