Commerce Layer attachments API

resource type

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

commerce-layer-attachments-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Commerce Layer addresses attachments 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: attachments
  description: resource type
paths:
  /attachments:
    get:
      operationId: GET/attachments
      summary: List all attachments
      description: List all attachments
      tags:
      - attachments
      responses:
        '200':
          description: A list of attachment objects
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/attachmentResponseList'
    post:
      operationId: POST/attachments
      summary: Create an attachment
      description: Create an attachment
      tags:
      - attachments
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/attachmentCreate'
      responses:
        '201':
          description: The created attachment object
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/attachmentResponse'
  /attachments/{attachmentId}:
    get:
      operationId: GET/attachments/attachmentId
      summary: Retrieve an attachment
      description: Retrieve an attachment
      tags:
      - attachments
      parameters:
      - name: attachmentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachment object
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/attachmentResponse'
    patch:
      operationId: PATCH/attachments/attachmentId
      summary: Update an attachment
      description: Update an attachment
      tags:
      - attachments
      parameters:
      - name: attachmentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/attachmentUpdate'
      responses:
        '200':
          description: The updated attachment object
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/attachmentResponse'
    delete:
      operationId: DELETE/attachments/attachmentId
      summary: Delete an attachment
      description: Delete an attachment
      tags:
      - attachments
      parameters:
      - name: attachmentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '204':
          description: No content
  /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:
      - attachments
      parameters:
      - name: authorizationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the authorization
  /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:
      - attachments
      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
  /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:
      - attachments
      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
  /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:
      - attachments
      parameters:
      - name: bundleId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the bundle
  /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:
      - attachments
      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
  /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:
      - attachments
      parameters:
      - name: captureId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments 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:
      - attachments
      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
  /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:
      - attachments
      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
  /customer_groups/{customerGroupId}/attachments:
    get:
      operationId: GET/customerGroupId/attachments
      summary: Retrieve the attachments associated to the customer group
      description: Retrieve the attachments associated to the customer group
      tags:
      - attachments
      parameters:
      - name: customerGroupId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the customer group
  /customers/{customerId}/attachments:
    get:
      operationId: GET/customerId/attachments
      summary: Retrieve the attachments associated to the customer
      description: Retrieve the attachments associated to the customer
      tags:
      - attachments
      parameters:
      - name: customerId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the customer
  /delivery_lead_times/{deliveryLeadTimeId}/attachments:
    get:
      operationId: GET/deliveryLeadTimeId/attachments
      summary: Retrieve the attachments associated to the delivery lead time
      description: Retrieve the attachments associated to the delivery lead time
      tags:
      - attachments
      parameters:
      - name: deliveryLeadTimeId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the delivery lead time
  /discount_engines/{discountEngineId}/attachments:
    get:
      operationId: GET/discountEngineId/attachments
      summary: Retrieve the attachments associated to the discount engine
      description: Retrieve the attachments associated to the discount engine
      tags:
      - attachments
      parameters:
      - name: discountEngineId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the discount engine
  /external_promotions/{externalPromotionId}/attachments:
    get:
      operationId: GET/externalPromotionId/attachments
      summary: Retrieve the attachments associated to the external promotion
      description: Retrieve the attachments associated to the external promotion
      tags:
      - attachments
      parameters:
      - name: externalPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the external promotion
  /external_tax_calculators/{externalTaxCalculatorId}/attachments:
    get:
      operationId: GET/externalTaxCalculatorId/attachments
      summary: Retrieve the attachments associated to the external tax calculator
      description: Retrieve the attachments associated to the external tax calculator
      tags:
      - attachments
      parameters:
      - name: externalTaxCalculatorId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the external tax calculator
  /fixed_amount_promotions/{fixedAmountPromotionId}/attachments:
    get:
      operationId: GET/fixedAmountPromotionId/attachments
      summary: Retrieve the attachments associated to the fixed amount promotion
      description: Retrieve the attachments associated to the fixed amount promotion
      tags:
      - attachments
      parameters:
      - name: fixedAmountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the fixed amount promotion
  /fixed_price_promotions/{fixedPricePromotionId}/attachments:
    get:
      operationId: GET/fixedPricePromotionId/attachments
      summary: Retrieve the attachments associated to the fixed price promotion
      description: Retrieve the attachments associated to the fixed price promotion
      tags:
      - attachments
      parameters:
      - name: fixedPricePromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the fixed price promotion
  /flex_promotions/{flexPromotionId}/attachments:
    get:
      operationId: GET/flexPromotionId/attachments
      summary: Retrieve the attachments associated to the flex promotion
      description: Retrieve the attachments associated to the flex promotion
      tags:
      - attachments
      parameters:
      - name: flexPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the flex promotion
  /free_gift_promotions/{freeGiftPromotionId}/attachments:
    get:
      operationId: GET/freeGiftPromotionId/attachments
      summary: Retrieve the attachments associated to the free gift promotion
      description: Retrieve the attachments associated to the free gift promotion
      tags:
      - attachments
      parameters:
      - name: freeGiftPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the free gift promotion
  /free_shipping_promotions/{freeShippingPromotionId}/attachments:
    get:
      operationId: GET/freeShippingPromotionId/attachments
      summary: Retrieve the attachments associated to the free shipping promotion
      description: Retrieve the attachments associated to the free shipping promotion
      tags:
      - attachments
      parameters:
      - name: freeShippingPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the free shipping promotion
  /geocoders/{geocoderId}/attachments:
    get:
      operationId: GET/geocoderId/attachments
      summary: Retrieve the attachments associated to the geocoder
      description: Retrieve the attachments associated to the geocoder
      tags:
      - attachments
      parameters:
      - name: geocoderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the geocoder
  /gift_card_recipients/{giftCardRecipientId}/attachments:
    get:
      operationId: GET/giftCardRecipientId/attachments
      summary: Retrieve the attachments associated to the gift card recipient
      description: Retrieve the attachments associated to the gift card recipient
      tags:
      - attachments
      parameters:
      - name: giftCardRecipientId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the gift card recipient
  /gift_cards/{giftCardId}/attachments:
    get:
      operationId: GET/giftCardId/attachments
      summary: Retrieve the attachments associated to the gift card
      description: Retrieve the attachments associated to the gift card
      tags:
      - attachments
      parameters:
      - name: giftCardId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the gift card
  /google_geocoders/{googleGeocoderId}/attachments:
    get:
      operationId: GET/googleGeocoderId/attachments
      summary: Retrieve the attachments associated to the google geocoder
      description: Retrieve the attachments associated to the google geocoder
      tags:
      - attachments
      parameters:
      - name: googleGeocoderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the google geocoder
  /inventory_models/{inventoryModelId}/attachments:
    get:
      operationId: GET/inventoryModelId/attachments
      summary: Retrieve the attachments associated to the inventory model
      description: Retrieve the attachments associated to the inventory model
      tags:
      - attachments
      parameters:
      - name: inventoryModelId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the inventory model
  /manual_tax_calculators/{manualTaxCalculatorId}/attachments:
    get:
      operationId: GET/manualTaxCalculatorId/attachments
      summary: Retrieve the attachments associated to the manual tax calculator
      description: Retrieve the attachments associated to the manual tax calculator
      tags:
      - attachments
      parameters:
      - name: manualTaxCalculatorId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the manual tax calculator
  /markets/{marketId}/attachments:
    get:
      operationId: GET/marketId/attachments
      summary: Retrieve the attachments associated to the market
      description: Retrieve the attachments associated to the market
      tags:
      - attachments
      parameters:
      - name: marketId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the market
  /merchants/{merchantId}/attachments:
    get:
      operationId: GET/merchantId/attachments
      summary: Retrieve the attachments associated to the merchant
      description: Retrieve the attachments associated to the merchant
      tags:
      - attachments
      parameters:
      - name: merchantId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the merchant
  /orders/{orderId}/attachments:
    get:
      operationId: GET/orderId/attachments
      summary: Retrieve the attachments associated to the order
      description: Retrieve the attachments associated to the order
      tags:
      - attachments
      parameters:
      - name: orderId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the order
  /packages/{packageId}/attachments:
    get:
      operationId: GET/packageId/attachments
      summary: Retrieve the attachments associated to the package
      description: Retrieve the attachments associated to the package
      tags:
      - attachments
      parameters:
      - name: packageId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the package
  /parcels/{parcelId}/attachments:
    get:
      operationId: GET/parcelId/attachments
      summary: Retrieve the attachments associated to the parcel
      description: Retrieve the attachments associated to the parcel
      tags:
      - attachments
      parameters:
      - name: parcelId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the parcel
  /payment_methods/{paymentMethodId}/attachments:
    get:
      operationId: GET/paymentMethodId/attachments
      summary: Retrieve the attachments associated to the payment method
      description: Retrieve the attachments associated to the payment method
      tags:
      - attachments
      parameters:
      - name: paymentMethodId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the payment method
  /payment_options/{paymentOptionId}/attachments:
    get:
      operationId: GET/paymentOptionId/attachments
      summary: Retrieve the attachments associated to the payment option
      description: Retrieve the attachments associated to the payment option
      tags:
      - attachments
      parameters:
      - name: paymentOptionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the payment option
  /percentage_discount_promotions/{percentageDiscountPromotionId}/attachments:
    get:
      operationId: GET/percentageDiscountPromotionId/attachments
      summary: Retrieve the attachments associated to the percentage discount promotion
      description: Retrieve the attachments associated to the percentage discount promotion
      tags:
      - attachments
      parameters:
      - name: percentageDiscountPromotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the percentage discount promotion
  /price_frequency_tiers/{priceFrequencyTierId}/attachments:
    get:
      operationId: GET/priceFrequencyTierId/attachments
      summary: Retrieve the attachments associated to the price frequency tier
      description: Retrieve the attachments associated to the price frequency tier
      tags:
      - attachments
      parameters:
      - name: priceFrequencyTierId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the price frequency tier
  /price_lists/{priceListId}/attachments:
    get:
      operationId: GET/priceListId/attachments
      summary: Retrieve the attachments associated to the price list
      description: Retrieve the attachments associated to the price list
      tags:
      - attachments
      parameters:
      - name: priceListId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the price list
  /price_tiers/{priceTierId}/attachments:
    get:
      operationId: GET/priceTierId/attachments
      summary: Retrieve the attachments associated to the price tier
      description: Retrieve the attachments associated to the price tier
      tags:
      - attachments
      parameters:
      - name: priceTierId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the price tier
  /price_volume_tiers/{priceVolumeTierId}/attachments:
    get:
      operationId: GET/priceVolumeTierId/attachments
      summary: Retrieve the attachments associated to the price volume tier
      description: Retrieve the attachments associated to the price volume tier
      tags:
      - attachments
      parameters:
      - name: priceVolumeTierId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the price volume tier
  /prices/{priceId}/attachments:
    get:
      operationId: GET/priceId/attachments
      summary: Retrieve the attachments associated to the price
      description: Retrieve the attachments associated to the price
      tags:
      - attachments
      parameters:
      - name: priceId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the price
  /promotions/{promotionId}/attachments:
    get:
      operationId: GET/promotionId/attachments
      summary: Retrieve the attachments associated to the promotion
      description: Retrieve the attachments associated to the promotion
      tags:
      - attachments
      parameters:
      - name: promotionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the promotion
  /refunds/{refundId}/attachments:
    get:
      operationId: GET/refundId/attachments
      summary: Retrieve the attachments associated to the refund
      description: Retrieve the attachments associated to the refund
      tags:
      - attachments
      parameters:
      - name: refundId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the refund
  /returns/{returnId}/attachments:
    get:
      operationId: GET/returnId/attachments
      summary: Retrieve the attachments associated to the return
      description: Retrieve the attachments associated to the return
      tags:
      - attachments
      parameters:
      - name: returnId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the return
  /shipments/{shipmentId}/attachments:
    get:
      operationId: GET/shipmentId/attachments
      summary: Retrieve the attachments associated to the shipment
      description: Retrieve the attachments associated to the shipment
      tags:
      - attachments
      parameters:
      - name: shipmentId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the shipment
  /shipping_categories/{shippingCategoryId}/attachments:
    get:
      operationId: GET/shippingCategoryId/attachments
      summary: Retrieve the attachments associated to the shipping category
      description: Retrieve the attachments associated to the shipping category
      tags:
      - attachments
      parameters:
      - name: shippingCategoryId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the shipping category
  /shipping_method_tiers/{shippingMethodTierId}/attachments:
    get:
      operationId: GET/shippingMethodTierId/attachments
      summary: Retrieve the attachments associated to the shipping method tier
      description: Retrieve the attachments associated to the shipping method tier
      tags:
      - attachments
      parameters:
      - name: shippingMethodTierId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the shipping method tier
  /shipping_methods/{shippingMethodId}/attachments:
    get:
      operationId: GET/shippingMethodId/attachments
      summary: Retrieve the attachments associated to the shipping method
      description: Retrieve the attachments associated to the shipping method
      tags:
      - attachments
      parameters:
      - name: shippingMethodId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the shipping method
  /shipping_weight_tiers/{shippingWeightTierId}/attachments:
    get:
      operationId: GET/shippingWeightTierId/attachments
      summary: Retrieve the attachments associated to the shipping weight tier
      description: Retrieve the attachments associated to the shipping weight tier
      tags:
      - attachments
      parameters:
      - name: shippingWeightTierId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the shipping weight tier
  /shipping_zones/{shippingZoneId}/attachments:
    get:
      operationId: GET/shippingZoneId/attachments
      summary: Retrieve the attachments associated to the shipping zone
      description: Retrieve the attachments associated to the shipping zone
      tags:
      - attachments
      parameters:
      - name: shippingZoneId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the shipping zone
  /sku_lists/{skuListId}/attachments:
    get:
      operationId: GET/skuListId/attachments
      summary: Retrieve the attachments associated to the SKU list
      description: Retrieve the attachments associated to the SKU list
      tags:
      - attachments
      parameters:
      - name: skuListId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the SKU list
  /sku_options/{skuOptionId}/attachments:
    get:
      operationId: GET/skuOptionId/attachments
      summary: Retrieve the attachments associated to the SKU option
      description: Retrieve the attachments associated to the SKU option
      tags:
      - attachments
      parameters:
      - name: skuOptionId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the SKU option
  /skus/{skuId}/attachments:
    get:
      operationId: GET/skuId/attachments
      summary: Retrieve the attachments associated to the SKU
      description: Retrieve the attachments associated to the SKU
      tags:
      - attachments
      parameters:
      - name: skuId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the SKU
  /stock_items/{stockItemId}/attachments:
    get:
      operationId: GET/stockItemId/attachments
      summary: Retrieve the attachments associated to the stock item
      description: Retrieve the attachments associated to the stock item
      tags:
      - attachments
      parameters:
      - name: stockItemId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the stock item
  /stock_locations/{stockLocationId}/attachments:
    get:
      operationId: GET/stockLocationId/attachments
      summary: Retrieve the attachments associated to the stock location
      description: Retrieve the attachments associated to the stock location
      tags:
      - attachments
      parameters:
      - name: stockLocationId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: The attachments associated to the stock location
  /stock_transfers/{stockTransferId}/attachments:
    get:
      operationId: GET/stockTransferId/attachments
      summary: Retrieve the attachments associated to the stock transfer
      description: Retrieve the attachments associated to the stock transfer
      tags:
      - attachments
      parameters:
      - name: stockTransferId
        in: path
        schema:
          type: string
        required: true
        description: The resource's id
      responses:
        '200':
          description: 

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