Commerce Layer has_one API

relationship kind

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

commerce-layer-has-one-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Commerce Layer addresses has_one 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_one
  description: relationship kind
paths:
  /addresses/{addressId}/geocoder:
    get:
      operationId: GET/addressId/geocoder
      summary: Retrieve the geocoder associated to the address
      description: Retrieve the geocoder associated to the address
      tags:
      - has_one
      parameters:
      - name: addressId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The geocoder associated to the address
  /adyen_payments/{adyenPaymentId}/order:
    get:
      operationId: GET/adyenPaymentId/order
      summary: Retrieve the order associated to the adyen payment
      description: Retrieve the order associated to the adyen payment
      tags:
      - has_one
      parameters:
      - name: adyenPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the adyen payment
  /adyen_payments/{adyenPaymentId}/payment_gateway:
    get:
      operationId: GET/adyenPaymentId/payment_gateway
      summary: Retrieve the payment gateway associated to the adyen payment
      description: Retrieve the payment gateway associated to the adyen payment
      tags:
      - has_one
      parameters:
      - name: adyenPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_gateway associated to the adyen payment
  /authorizations/{authorizationId}/order:
    get:
      operationId: GET/authorizationId/order
      summary: Retrieve the order associated to the authorization
      description: Retrieve the order associated to the authorization
      tags:
      - has_one
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the authorization
  /axerve_payments/{axervePaymentId}/order:
    get:
      operationId: GET/axervePaymentId/order
      summary: Retrieve the order associated to the axerve payment
      description: Retrieve the order associated to the axerve payment
      tags:
      - has_one
      parameters:
      - name: axervePaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the axerve payment
  /axerve_payments/{axervePaymentId}/payment_gateway:
    get:
      operationId: GET/axervePaymentId/payment_gateway
      summary: Retrieve the payment gateway associated to the axerve payment
      description: Retrieve the payment gateway associated to the axerve payment
      tags:
      - has_one
      parameters:
      - name: axervePaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_gateway associated to the axerve payment
  /braintree_payments/{braintreePaymentId}/order:
    get:
      operationId: GET/braintreePaymentId/order
      summary: Retrieve the order associated to the braintree payment
      description: Retrieve the order associated to the braintree payment
      tags:
      - has_one
      parameters:
      - name: braintreePaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the braintree payment
  /braintree_payments/{braintreePaymentId}/payment_gateway:
    get:
      operationId: GET/braintreePaymentId/payment_gateway
      summary: Retrieve the payment gateway associated to the braintree payment
      description: Retrieve the payment gateway associated to the braintree payment
      tags:
      - has_one
      parameters:
      - name: braintreePaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_gateway associated to the braintree payment
  /bundles/{bundleId}/market:
    get:
      operationId: GET/bundleId/market
      summary: Retrieve the market associated to the bundle
      description: Retrieve the market associated to the bundle
      tags:
      - has_one
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The market associated to the bundle
  /bundles/{bundleId}/sku_list:
    get:
      operationId: GET/bundleId/sku_list
      summary: Retrieve the sku list associated to the bundle
      description: Retrieve the sku list associated to the bundle
      tags:
      - has_one
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list associated to the bundle
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/market:
    get:
      operationId: GET/buyXPayYPromotionId/market
      summary: Retrieve the market associated to the buy x pay y promotion
      description: Retrieve the market associated to the buy x pay y promotion
      tags:
      - has_one
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The market associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/order_amount_promotion_rule:
    get:
      operationId: GET/buyXPayYPromotionId/order_amount_promotion_rule
      summary: Retrieve the order amount promotion rule associated to the buy x pay y promotion
      description: Retrieve the order amount promotion rule associated to the buy x pay y promotion
      tags:
      - has_one
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order_amount_promotion_rule associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/sku_list_promotion_rule:
    get:
      operationId: GET/buyXPayYPromotionId/sku_list_promotion_rule
      summary: Retrieve the sku list promotion rule associated to the buy x pay y promotion
      description: Retrieve the sku list promotion rule associated to the buy x pay y promotion
      tags:
      - has_one
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list_promotion_rule associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/coupon_codes_promotion_rule:
    get:
      operationId: GET/buyXPayYPromotionId/coupon_codes_promotion_rule
      summary: Retrieve the coupon codes promotion rule associated to the buy x pay y promotion
      description: Retrieve the coupon codes promotion rule associated to the buy x pay y promotion
      tags:
      - has_one
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The coupon_codes_promotion_rule associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule:
    get:
      operationId: GET/buyXPayYPromotionId/custom_promotion_rule
      summary: Retrieve the custom promotion rule associated to the buy x pay y promotion
      description: Retrieve the custom promotion rule associated to the buy x pay y promotion
      tags:
      - has_one
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The custom_promotion_rule associated to the buy x pay y promotion
  /buy_x_pay_y_promotions/{buyXPayYPromotionId}/sku_list:
    get:
      operationId: GET/buyXPayYPromotionId/sku_list
      summary: Retrieve the sku list associated to the buy x pay y promotion
      description: Retrieve the sku list associated to the buy x pay y promotion
      tags:
      - has_one
      parameters:
      - name: buyXPayYPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list associated to the buy x pay y promotion
  /captures/{captureId}/order:
    get:
      operationId: GET/captureId/order
      summary: Retrieve the order associated to the capture
      description: Retrieve the order associated to the capture
      tags:
      - has_one
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the capture
  /captures/{captureId}/reference_authorization:
    get:
      operationId: GET/captureId/reference_authorization
      summary: Retrieve the reference authorization associated to the capture
      description: Retrieve the reference authorization associated to the capture
      tags:
      - has_one
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The reference_authorization associated to the capture
  /captures/{captureId}/return:
    get:
      operationId: GET/captureId/return
      summary: Retrieve the return associated to the capture
      description: Retrieve the return associated to the capture
      tags:
      - has_one
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The return associated to the capture
  /carrier_accounts/{carrierAccountId}/market:
    get:
      operationId: GET/carrierAccountId/market
      summary: Retrieve the market associated to the carrier account
      description: Retrieve the market associated to the carrier account
      tags:
      - has_one
      parameters:
      - name: carrierAccountId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The market associated to the carrier account
  /checkout_com_payments/{checkoutComPaymentId}/order:
    get:
      operationId: GET/checkoutComPaymentId/order
      summary: Retrieve the order associated to the checkout.com payment
      description: Retrieve the order associated to the checkout.com payment
      tags:
      - has_one
      parameters:
      - name: checkoutComPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the checkout.com payment
  /checkout_com_payments/{checkoutComPaymentId}/payment_gateway:
    get:
      operationId: GET/checkoutComPaymentId/payment_gateway
      summary: Retrieve the payment gateway associated to the checkout.com payment
      description: Retrieve the payment gateway associated to the checkout.com payment
      tags:
      - has_one
      parameters:
      - name: checkoutComPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_gateway associated to the checkout.com payment
  /coupon_recipients/{couponRecipientId}/customer:
    get:
      operationId: GET/couponRecipientId/customer
      summary: Retrieve the customer associated to the coupon recipient
      description: Retrieve the customer associated to the coupon recipient
      tags:
      - has_one
      parameters:
      - name: couponRecipientId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The customer associated to the coupon recipient
  /coupons/{couponId}/promotion_rule:
    get:
      operationId: GET/couponId/promotion_rule
      summary: Retrieve the promotion rule associated to the coupon
      description: Retrieve the promotion rule associated to the coupon
      tags:
      - has_one
      parameters:
      - name: couponId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The promotion_rule associated to the coupon
  /coupons/{couponId}/coupon_recipient:
    get:
      operationId: GET/couponId/coupon_recipient
      summary: Retrieve the coupon recipient associated to the coupon
      description: Retrieve the coupon recipient associated to the coupon
      tags:
      - has_one
      parameters:
      - name: couponId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The coupon_recipient associated to the coupon
  /customer_addresses/{customerAddressId}/customer:
    get:
      operationId: GET/customerAddressId/customer
      summary: Retrieve the customer associated to the customer address
      description: Retrieve the customer associated to the customer address
      tags:
      - has_one
      parameters:
      - name: customerAddressId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The customer associated to the customer address
  /customer_addresses/{customerAddressId}/address:
    get:
      operationId: GET/customerAddressId/address
      summary: Retrieve the address associated to the customer address
      description: Retrieve the address associated to the customer address
      tags:
      - has_one
      parameters:
      - name: customerAddressId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The address associated to the customer address
  /customer_password_resets/{customerPasswordResetId}/customer:
    get:
      operationId: GET/customerPasswordResetId/customer
      summary: Retrieve the customer associated to the customer password reset
      description: Retrieve the customer associated to the customer password reset
      tags:
      - has_one
      parameters:
      - name: customerPasswordResetId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The customer associated to the customer password reset
  /customer_payment_sources/{customerPaymentSourceId}/customer:
    get:
      operationId: GET/customerPaymentSourceId/customer
      summary: Retrieve the customer associated to the customer payment source
      description: Retrieve the customer associated to the customer payment source
      tags:
      - has_one
      parameters:
      - name: customerPaymentSourceId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The customer associated to the customer payment source
  /customer_payment_sources/{customerPaymentSourceId}/payment_method:
    get:
      operationId: GET/customerPaymentSourceId/payment_method
      summary: Retrieve the payment method associated to the customer payment source
      description: Retrieve the payment method associated to the customer payment source
      tags:
      - has_one
      parameters:
      - name: customerPaymentSourceId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_method associated to the customer payment source
  /customer_subscriptions/{customerSubscriptionId}/customer:
    get:
      operationId: GET/customerSubscriptionId/customer
      summary: Retrieve the customer associated to the customer subscription
      description: Retrieve the customer associated to the customer subscription
      tags:
      - has_one
      parameters:
      - name: customerSubscriptionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The customer associated to the customer subscription
  /customers/{customerId}/customer_group:
    get:
      operationId: GET/customerId/customer_group
      summary: Retrieve the customer group associated to the customer
      description: Retrieve the customer group associated to the customer
      tags:
      - has_one
      parameters:
      - name: customerId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The customer_group associated to the customer
  /customers/{customerId}/jwt_customer:
    get:
      operationId: GET/customerId/jwt_customer
      summary: Retrieve the jwt customer associated to the customer
      description: Retrieve the jwt customer associated to the customer
      tags:
      - has_one
      parameters:
      - name: customerId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The jwt_customer associated to the customer
  /delivery_lead_times/{deliveryLeadTimeId}/stock_location:
    get:
      operationId: GET/deliveryLeadTimeId/stock_location
      summary: Retrieve the stock location associated to the delivery lead time
      description: Retrieve the stock location associated to the delivery lead time
      tags:
      - has_one
      parameters:
      - name: deliveryLeadTimeId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The stock_location associated to the delivery lead time
  /delivery_lead_times/{deliveryLeadTimeId}/shipping_method:
    get:
      operationId: GET/deliveryLeadTimeId/shipping_method
      summary: Retrieve the shipping method associated to the delivery lead time
      description: Retrieve the shipping method associated to the delivery lead time
      tags:
      - has_one
      parameters:
      - name: deliveryLeadTimeId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The shipping_method associated to the delivery lead time
  /discount_engine_items/{discountEngineItemId}/discount_engine:
    get:
      operationId: GET/discountEngineItemId/discount_engine
      summary: Retrieve the discount engine associated to the discount engine item
      description: Retrieve the discount engine associated to the discount engine item
      tags:
      - has_one
      parameters:
      - name: discountEngineItemId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The discount_engine associated to the discount engine item
  /discount_engine_items/{discountEngineItemId}/order:
    get:
      operationId: GET/discountEngineItemId/order
      summary: Retrieve the order associated to the discount engine item
      description: Retrieve the order associated to the discount engine item
      tags:
      - has_one
      parameters:
      - name: discountEngineItemId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the discount engine item
  /easypost_pickups/{easypostPickupId}/shipment:
    get:
      operationId: GET/easypostPickupId/shipment
      summary: Retrieve the shipment associated to the easypost pickup
      description: Retrieve the shipment associated to the easypost pickup
      tags:
      - has_one
      parameters:
      - name: easypostPickupId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The shipment associated to the easypost pickup
  /event_callbacks/{eventCallbackId}/webhook:
    get:
      operationId: GET/eventCallbackId/webhook
      summary: Retrieve the webhook associated to the event callback
      description: Retrieve the webhook associated to the event callback
      tags:
      - has_one
      parameters:
      - name: eventCallbackId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The webhook associated to the event callback
  /external_payments/{externalPaymentId}/order:
    get:
      operationId: GET/externalPaymentId/order
      summary: Retrieve the order associated to the external payment
      description: Retrieve the order associated to the external payment
      tags:
      - has_one
      parameters:
      - name: externalPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order associated to the external payment
  /external_payments/{externalPaymentId}/payment_gateway:
    get:
      operationId: GET/externalPaymentId/payment_gateway
      summary: Retrieve the payment gateway associated to the external payment
      description: Retrieve the payment gateway associated to the external payment
      tags:
      - has_one
      parameters:
      - name: externalPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The payment_gateway associated to the external payment
  /external_payments/{externalPaymentId}/wallet:
    get:
      operationId: GET/externalPaymentId/wallet
      summary: Retrieve the wallet associated to the external payment
      description: Retrieve the wallet associated to the external payment
      tags:
      - has_one
      parameters:
      - name: externalPaymentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The wallet associated to the external payment
  /external_promotions/{externalPromotionId}/market:
    get:
      operationId: GET/externalPromotionId/market
      summary: Retrieve the market associated to the external promotion
      description: Retrieve the market associated to the external promotion
      tags:
      - has_one
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The market associated to the external promotion
  /external_promotions/{externalPromotionId}/order_amount_promotion_rule:
    get:
      operationId: GET/externalPromotionId/order_amount_promotion_rule
      summary: Retrieve the order amount promotion rule associated to the external promotion
      description: Retrieve the order amount promotion rule associated to the external promotion
      tags:
      - has_one
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order_amount_promotion_rule associated to the external promotion
  /external_promotions/{externalPromotionId}/sku_list_promotion_rule:
    get:
      operationId: GET/externalPromotionId/sku_list_promotion_rule
      summary: Retrieve the sku list promotion rule associated to the external promotion
      description: Retrieve the sku list promotion rule associated to the external promotion
      tags:
      - has_one
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list_promotion_rule associated to the external promotion
  /external_promotions/{externalPromotionId}/coupon_codes_promotion_rule:
    get:
      operationId: GET/externalPromotionId/coupon_codes_promotion_rule
      summary: Retrieve the coupon codes promotion rule associated to the external promotion
      description: Retrieve the coupon codes promotion rule associated to the external promotion
      tags:
      - has_one
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The coupon_codes_promotion_rule associated to the external promotion
  /external_promotions/{externalPromotionId}/custom_promotion_rule:
    get:
      operationId: GET/externalPromotionId/custom_promotion_rule
      summary: Retrieve the custom promotion rule associated to the external promotion
      description: Retrieve the custom promotion rule associated to the external promotion
      tags:
      - has_one
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The custom_promotion_rule associated to the external promotion
  /external_promotions/{externalPromotionId}/sku_list:
    get:
      operationId: GET/externalPromotionId/sku_list
      summary: Retrieve the sku list associated to the external promotion
      description: Retrieve the sku list associated to the external promotion
      tags:
      - has_one
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list associated to the external promotion
  /fixed_amount_promotions/{fixedAmountPromotionId}/market:
    get:
      operationId: GET/fixedAmountPromotionId/market
      summary: Retrieve the market associated to the fixed amount promotion
      description: Retrieve the market associated to the fixed amount promotion
      tags:
      - has_one
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The market associated to the fixed amount promotion
  /fixed_amount_promotions/{fixedAmountPromotionId}/order_amount_promotion_rule:
    get:
      operationId: GET/fixedAmountPromotionId/order_amount_promotion_rule
      summary: Retrieve the order amount promotion rule associated to the fixed amount promotion
      description: Retrieve the order amount promotion rule associated to the fixed amount promotion
      tags:
      - has_one
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The order_amount_promotion_rule associated to the fixed amount promotion
  /fixed_amount_promotions/{fixedAmountPromotionId}/sku_list_promotion_rule:
    get:
      operationId: GET/fixedAmountPromotionId/sku_list_promotion_rule
      summary: Retrieve the sku list promotion rule associated to the fixed amount promotion
      description: Retrieve the sku list promotion rule associated to the fixed amount promotion
      tags:
      - has_one
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list_promotion_rule associated to the fixed amount promotion
  /fixed_amount_promotions/{fixedAmountPromotionId}/coupon_codes_promotion_rule:
    get:
      operationId: GET/fixedAmountPromotionId/coupon_codes_promotion_rule
      summary: Retrieve the coupon codes promotion rule associated to the fixed amount promotion
      description: Retrieve the coupon codes promotion rule associated to the fixed amount promotion
      tags:
      - has_one
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The coupon_codes_promotion_rule associated to the fixed amount promotion
  /fixed_amount_promotions/{fixedAmountPromotionId}/custom_promotion_rule:
    get:
      operationId: GET/fixedAmountPromotionId/custom_promotion_rule
      summary: Retrieve the custom promotion rule associated to the fixed amount promotion
      description: Retrieve the custom promotion rule associated to the fixed amount promotion
      tags:
      - has_one
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The custom_promotion_rule associated to the fixed amount promotion
  /fixed_amount_promotions/{fixedAmountPromotionId}/sku_list:
    get:
      operationId: GET/fixedAmountPromotionId/sku_list
      summary: Retrieve the sku list associated to the fixed amount promotion
      description: Retrieve the sku list associated to the fixed amount promotion
      tags:
      - has_one
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The sku_list associated to the fixed amount promotion
  /fixed_price_promotions/{fixedPricePromotionId}/market:
    get:
      operationId: GET/fixedPricePromotionId/market
      summary: Retrieve the market associated to the fixed price promotion
      description: Retrieve the market associated to the fixed price promotion
      tags:
      - has_one
      parameters:
      - name: fixedPricePromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The market associated to the fixed price promotion
  /fixed_price_promotions/{fixedPricePromotionId}/order_amount_promotion_rule:
    get:
      operationId: GET/fixedPricePromotionId/order_amount_promotion_rule
      summary: Retrieve the order amount p

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