---
updatedAt: 2025-09-25T21:08:47.000Z
agentTools:
  projectIndex: https://returnbear.readme.io/llms.txt
---

# Get all return methods for a return

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload": {
        "properties": {
          "customer_contact": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.CustomerContact",
            "nullable": true
          },
          "external_order_reference": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalOrderReference",
            "nullable": true
          },
          "fees": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.Fee"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "return_case_items": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ReturnCaseItem"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "return_method": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ReturnMethod",
            "nullable": true
          },
          "rma_number": {
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "short_uid": {
            "description": "The unique identifier for the return, generated by ReturnBear.",
            "example": "RB-BE45EC",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "enum": [
              "ADDED_TO_BATCH",
              "APPROVED",
              "ARRIVED_AT_MERCHANT",
              "ASSESSED",
              "AWAITING_PROCESSING",
              "CANCELLED",
              "COMPLETED",
              "DENIED",
              "DONATED",
              "DROPPED_OFF",
              "IN_TRANSIT_TO_HUB",
              "IN_TRANSIT_TO_MERCHANT",
              "NEW",
              "PARTIALLY_ASSESSED",
              "PARTIALLY_COMPLETED",
              "PARTIALLY_DROPPED_OFF",
              "PARTIALLY_RECEIVED",
              "RECEIVED",
              "REFUNDED",
              "SCANNED_AT_HUB",
              "PARTIALLY_PROCESSED_INTO_INVENTORY",
              "PROCESSED_INTO_INVENTORY",
              "DENIED_BY_MERCHANT",
              "ACCEPTED_BY_MERCHANT",
              "DISPUTE_STARTED",
              "DISPUTE_RESOLVED",
              "REMITTED"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "store_id": {
            "anyOf": [
              {
                "format": "int64",
                "type": "integer",
                "x-struct": null,
                "x-validate": null
              },
              {
                "type": "string",
                "x-struct": null,
                "x-validate": null
              }
            ],
            "x-struct": null,
            "x-validate": null
          },
          "tracking_events": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.TrackingEvent"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "tracking_status": {
            "enum": [
              "RECEIVED_AT_RETURN_POINT",
              "IN_TRANSIT_TO_HUB",
              "RECEIVED_AT_HUB",
              "APPROVED",
              "PENDING"
            ],
            "nullable": true,
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "uid": {
            "format": "uuid",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "undeclared_items": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.UndeclaredItem"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "verification_status": {
            "enum": [
              "PASSED",
              "FAILED",
              "PENDING"
            ],
            "nullable": true,
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          }
        },
        "required": [
          "rma_number",
          "short_uid",
          "status",
          "store_id",
          "uid",
          "fees",
          "return_case_items",
          "undeclared_items",
          "tracking_events"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnPointDetails": {
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "distance": {
            "$ref": "#/components/schemas/Distance"
          },
          "hours_of_operation_url": {
            "description": "The URL of the hours of operation",
            "example": "https://www.example.com/hours",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "location_coordinates": {
            "$ref": "#/components/schemas/LocationCoordinates"
          },
          "name": {
            "description": "The name of the business operating the Return Point",
            "example": "Staples - Kanata",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "uid": {
            "description": "The unique identifier for the return point return method",
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "uid",
          "name",
          "address",
          "distance",
          "location_coordinates",
          "hours_of_operation_url"
        ],
        "title": "ReturnPointDetails",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.ReturnPointDetails",
        "x-validate": null
      },
      "ReturnBear.Schema.Common.Types.Money": {
        "description": "Represents a monetary value with an associated currency code",
        "properties": {
          "amount": {
            "description": "The monetary amount as a decimal value, encoded as string",
            "example": "29.99",
            "format": "decimal",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "currency": {
            "description": "ISO 4217 currency code (e.g., USD, EUR, CAD)",
            "enum": [
              "ADP",
              "AED",
              "AFA",
              "AFN",
              "ALK",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "AOK",
              "AON",
              "AOR",
              "ARA",
              "ARL",
              "ARM",
              "ARP",
              "ARS",
              "ATS",
              "AUD",
              "AWG",
              "AZM",
              "AZN",
              "BAD",
              "BAM",
              "BAN",
              "BBD",
              "BDT",
              "BEC",
              "BEF",
              "BEL",
              "BGL",
              "BGM",
              "BGN",
              "BGO",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOL",
              "BOP",
              "BOV",
              "BRB",
              "BRC",
              "BRE",
              "BRL",
              "BRN",
              "BRR",
              "BRZ",
              "BSD",
              "BTN",
              "BUK",
              "BWP",
              "BYB",
              "BYN",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLE",
              "CLF",
              "CLP",
              "CNH",
              "CNX",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CSD",
              "CSK",
              "CUC",
              "CUP",
              "CVE",
              "CYP",
              "CZK",
              "DDM",
              "DEM",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "ECS",
              "ECV",
              "EEK",
              "EGP",
              "ERN",
              "ESA",
              "ESB",
              "ESP",
              "ETB",
              "EUR",
              "FIM",
              "FJD",
              "FKP",
              "FRF",
              "GBP",
              "GEK",
              "GEL",
              "GHC",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GNS",
              "GQE",
              "GRD",
              "GTQ",
              "GWE",
              "GWP",
              "GYD",
              "HKD",
              "HNL",
              "HRD",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "IEP",
              "ILP",
              "ILR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISJ",
              "ISK",
              "ITL",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRH",
              "KRO",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LTT",
              "LUC",
              "LUF",
              "LUL",
              "LVL",
              "LVR",
              "LYD",
              "MAD",
              "MAF",
              "MCF",
              "MDC",
              "MDL",
              "MGA",
              "MGF",
              "MKD",
              "MKN",
              "MLF",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MRU",
              "MTL",
              "MTP",
              "MUR",
              "MVP",
              "MVR",
              "MWK",
              "MXN",
              "MXP",
              "MXV",
              "MYR",
              "MZE",
              "MZM",
              "MZN",
              "NAD",
              "NGN",
              "NIC",
              "NIO",
              "NLG",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEI",
              "PEN",
              "PES",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PLZ",
              "PTE",
              "PYG",
              "QAR",
              "RHD",
              "ROL",
              "RON",
              "RSD",
              "RUB",
              "RUR",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDD",
              "SDG",
              "SDP",
              "SEK",
              "SGD",
              "SHP",
              "SIT",
              "SKK",
              "SLE",
              "SLL",
              "SOS",
              "SRD",
              "SRG",
              "SSP",
              "STD",
              "STN",
              "SUR",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJR",
              "TJS",
              "TMM",
              "TMT",
              "TND",
              "TOP",
              "TPE",
              "TRL",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UAK",
              "UGS",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYP",
              "UYU",
              "UYW",
              "UZS",
              "VEB",
              "VED",
              "VEF",
              "VES",
              "VND",
              "VNN",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XCG",
              "XDR",
              "XEU",
              "XFO",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XRE",
              "XSU",
              "XTS",
              "XUA",
              "XXX",
              "YDD",
              "YER",
              "YUD",
              "YUM",
              "YUN",
              "YUR",
              "ZAL",
              "ZAR",
              "ZMK",
              "ZMW",
              "ZRN",
              "ZRZ",
              "ZWD",
              "ZWG",
              "ZWL",
              "ZWR"
            ],
            "nullable": true,
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          }
        },
        "title": "ReturnBear.Schema.Common.Types.Money",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ReturnCaseItem": {
        "description": "Represents a single item being returned, including its status and associated details",
        "properties": {
          "external_order_line_item_reference": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalReference",
            "description": "Reference to the original order line item"
          },
          "fees": {
            "description": "Fees or adjustments applied to this specific item",
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.Fee"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "price": {
            "$ref": "#/components/schemas/ReturnBear.Schema.Common.Types.Money",
            "description": "Price of the item being returned"
          },
          "product_variant": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ProductVariant",
            "description": "Details about the product variant being returned",
            "nullable": true
          },
          "remittance_decision": {
            "description": "Decision on how the customer will be remitted",
            "enum": [
              "REMIT",
              "DO_NOT_REMIT",
              "PENDING"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "return_method": {
            "description": "How the customer wants to be remitted for this item",
            "enum": [
              "EXCHANGE",
              "REFUND",
              "STORE_CREDIT"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "return_reason": {
            "description": "Reason provided by the customer for returning this item",
            "enum": [
              "UNMET_EXPECTATIONS",
              "DEFECTIVE",
              "INCORRECT_FIT",
              "CHANGED_MIND",
              "ORDER_ISSUE",
              "OTHER"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "status": {
            "description": "Current processing status of this return item",
            "enum": [
              "ADDED_TO_BATCH",
              "APPROVED",
              "ARRIVED_AT_MERCHANT",
              "ASSESSED",
              "AWAITING_PROCESSING",
              "CANCELLED",
              "COMPLETED",
              "DENIED",
              "DONATED",
              "DROPPED_OFF",
              "IN_TRANSIT_TO_HUB",
              "IN_TRANSIT_TO_MERCHANT",
              "NEW",
              "RECEIVED",
              "RETURNED",
              "SCANNED_AT_HUB",
              "PROCESSED_INTO_INVENTORY",
              "DENIED_BY_MERCHANT",
              "ACCEPTED_BY_MERCHANT"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "uid": {
            "description": "Unique identifier for this return case item",
            "example": "01234567-89ab-cdef-0123-456789abcdef",
            "format": "uuid",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "verification_summary": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ItemVerificationSummary",
            "description": "Results from warehouse verification of this item",
            "nullable": true
          }
        },
        "required": [
          "return_method",
          "return_reason",
          "status",
          "uid",
          "external_order_line_item_reference",
          "price",
          "remittance_decision",
          "fees"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ReturnCaseItem",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "Distance": {
        "properties": {
          "unit": {
            "description": "The unit of distance measurement",
            "enum": [
              "inch",
              "km",
              "mile"
            ],
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "value": {
            "description": "The distance value",
            "example": 1.5,
            "format": "decimal",
            "type": "number",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "value",
          "unit"
        ],
        "title": "Distance",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.Distance",
        "x-validate": null
      },
      "FulfillmentWebhookEvent": {
        "description": "A webhook event for fulfillment-related operations.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload"
          },
          "event_type": {
            "description": "The unique identifier for the return, generated by ReturnBear.",
            "enum": [
              "FULFILLMENT_TRACKING_STATUS_UPDATED"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "happened_at": {
            "description": "When the fulfillment event happened.",
            "format": "date-time",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "event_type",
          "happened_at",
          "data"
        ],
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentWebhookEvent",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.TrackingEvent": {
        "properties": {
          "occurred_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "origin_location": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.TrackingEvent.Location",
            "nullable": true
          },
          "status": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.TrackingEvent",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "LocationCoordinates": {
        "properties": {
          "latitude": {
            "description": "The latitude coordinate",
            "example": 43.6532,
            "format": "decimal",
            "type": "number",
            "x-struct": null,
            "x-validate": null
          },
          "longitude": {
            "description": "The longitude coordinate",
            "example": -79.3832,
            "format": "decimal",
            "type": "number",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "latitude",
          "longitude"
        ],
        "title": "LocationCoordinates",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.LocationCoordinates",
        "x-validate": null
      },
      "UnauthorizedError": {
        "description": "Authentication required response",
        "example": {
          "errors": {
            "detail": "Unauthorized"
          }
        },
        "properties": {
          "errors": {
            "properties": {
              "detail": {
                "example": "Unauthorized",
                "type": "string",
                "x-struct": null,
                "x-validate": null
              }
            },
            "type": "object",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "UnauthorizedError",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.Specs.ErrorSchemas.UnauthorizedError",
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalReference": {
        "description": "Links webhook data to corresponding resources in the merchant's system",
        "properties": {
          "gid": {
            "description": "Global identifier in the format 'gid://platform/Resource/id'",
            "example": "gid://shopify/LineItem/123456",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "id": {
            "anyOf": [
              {
                "format": "int64",
                "type": "integer",
                "x-struct": null,
                "x-validate": null
              },
              {
                "type": "string",
                "x-struct": null,
                "x-validate": null
              }
            ],
            "deprecated": true,
            "description": "Legacy numeric ID (deprecated - use gid instead)",
            "example": 123456,
            "nullable": true,
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalReference",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.UndeclaredItem": {
        "description": "Represents an item found during warehouse processing that was not declared in the return",
        "properties": {
          "id": {
            "description": "Unique identifier for the undeclared item",
            "example": "undeclared_123",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "verification_summary": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ItemVerificationSummary",
            "description": "Verification results for the undeclared item",
            "nullable": true
          }
        },
        "required": [
          "id"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.UndeclaredItem",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnWebhookEvent": {
        "description": "A webhook event for return-related operations.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload"
          },
          "event_type": {
            "description": "The type of the return event.",
            "enum": [
              "RETURN_REQUESTED",
              "RETURN_DENIED",
              "RETURN_APPROVED",
              "RETURN_REMITTED",
              "RETURN_CANCELLED",
              "RETURN_VERIFICATION_PASSED",
              "RETURN_VERIFICATION_FAILED",
              "RETURN_DISPUTE_STARTED",
              "RETURN_DISPUTE_RESOLVED",
              "RETURN_TRACKING_STATUS_UPDATED"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "happened_at": {
            "description": "When the event happened.",
            "format": "date-time",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "event_type",
          "happened_at",
          "data"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnWebhookEvent",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.CustomerContact": {
        "description": "Contact details for the customer who initiated the return",
        "properties": {
          "email": {
            "description": "Customer's email address",
            "example": "customer@example.com",
            "format": "email",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "language": {
            "description": "Customer's preferred language code (ISO 639-1)",
            "example": "en",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "description": "Customer's full name",
            "example": "John Doe",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "email",
          "language"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.CustomerContact",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.TrackingEvent.Location": {
        "properties": {
          "city": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "country_code": {
            "enum": [
              "AD",
              "AE",
              "AF",
              "AG",
              "AI",
              "AL",
              "AM",
              "AO",
              "AQ",
              "AR",
              "AS",
              "AT",
              "AU",
              "AW",
              "AX",
              "AZ",
              "BA",
              "BB",
              "BD",
              "BE",
              "BF",
              "BG",
              "BH",
              "BI",
              "BJ",
              "BL",
              "BM",
              "BN",
              "BO",
              "BQ",
              "BR",
              "BS",
              "BT",
              "BV",
              "BW",
              "BY",
              "BZ",
              "CA",
              "CC",
              "CD",
              "CF",
              "CG",
              "CH",
              "CI",
              "CK",
              "CL",
              "CM",
              "CN",
              "CO",
              "CR",
              "CU",
              "CV",
              "CW",
              "CX",
              "CY",
              "CZ",
              "DE",
              "DJ",
              "DK",
              "DM",
              "DO",
              "DZ",
              "EC",
              "EE",
              "EG",
              "EH",
              "ER",
              "ES",
              "ET",
              "FI",
              "FJ",
              "FK",
              "FM",
              "FO",
              "FR",
              "GA",
              "GB",
              "GD",
              "GE",
              "GF",
              "GG",
              "GH",
              "GI",
              "GL",
              "GM",
              "GN",
              "GP",
              "GQ",
              "GR",
              "GT",
              "GU",
              "GW",
              "GY",
              "HK",
              "HM",
              "HN",
              "HR",
              "HT",
              "HU",
              "ID",
              "IE",
              "IL",
              "IM",
              "IN",
              "IO",
              "IQ",
              "IR",
              "IS",
              "IT",
              "JE",
              "JM",
              "JO",
              "JP",
              "KE",
              "KG",
              "KH",
              "KI",
              "KM",
              "KN",
              "KP",
              "KR",
              "KW",
              "KY",
              "KZ",
              "LA",
              "LB",
              "LC",
              "LI",
              "LK",
              "LR",
              "LS",
              "LT",
              "LU",
              "LV",
              "LY",
              "MA",
              "MC",
              "MD",
              "ME",
              "MF",
              "MG",
              "MH",
              "MK",
              "ML",
              "MM",
              "MN",
              "MO",
              "MP",
              "MQ",
              "MR",
              "MS",
              "MT",
              "MU",
              "MV",
              "MW",
              "MX",
              "MY",
              "MZ",
              "NA",
              "NC",
              "NE",
              "NF",
              "NG",
              "NI",
              "NL",
              "NO",
              "NP",
              "NR",
              "NU",
              "NZ",
              "OM",
              "PA",
              "PE",
              "PF",
              "PG",
              "PH",
              "PK",
              "PL",
              "PM",
              "PN",
              "PR",
              "PS",
              "PT",
              "PW",
              "PY",
              "QA",
              "RE",
              "RO",
              "RS",
              "RU",
              "RW",
              "SA",
              "SB",
              "SC",
              "SD",
              "SE",
              "SG",
              "SH",
              "SI",
              "SJ",
              "SK",
              "SL",
              "SM",
              "SN",
              "SO",
              "SR",
              "SS",
              "ST",
              "SV",
              "SX",
              "SY",
              "SZ",
              "TC",
              "TD",
              "TF",
              "TG",
              "TH",
              "TJ",
              "TK",
              "TL",
              "TM",
              "TN",
              "TO",
              "TR",
              "TT",
              "TV",
              "TW",
              "TZ",
              "UA",
              "UG",
              "UM",
              "US",
              "UY",
              "UZ",
              "VA",
              "VC",
              "VE",
              "VG",
              "VI",
              "VN",
              "VU",
              "WF",
              "WS",
              "YE",
              "YT",
              "ZA",
              "ZM",
              "ZW",
              "UK"
            ],
            "nullable": true,
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "name": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "postal_code": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "province": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.TrackingEvent.Location",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnPointReturnMethodResponse": {
        "description": "Return point return method",
        "properties": {
          "description": {
            "description": "A detailed description for the return method",
            "example": "Print a label and mail your items back",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "features": {
            "description": "The features associated with the return method. These are helpful to the user to understand what the return method offers.",
            "items": {
              "$ref": "#/components/schemas/Feature"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "location_details": {
            "description": "The location details of return points that are closest to the customer.",
            "items": {
              "$ref": "#/components/schemas/ReturnPointDetails"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "description": "The display name of the return method",
            "example": "Return Point Return",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "qr_code_png_data": {
            "description": "The QR code PNG data encoded in base64 string. This can be used to return the items to any of the ReturnBear return points.",
            "example": "data:image/png;base64,...",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "name",
          "description",
          "features",
          "location_details",
          "qr_code_png_data"
        ],
        "title": "ReturnPointReturnMethodResponse",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.ReturnPointReturnMethodResponse",
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Origin": {
        "properties": {
          "sender_id": {
            "format": "int64",
            "nullable": true,
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          },
          "sender_name": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "sender_type": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Origin",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Document": {
        "properties": {
          "content_type": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "expiry_date": {
            "format": "date-time",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "type": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "url": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Document",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Attributes": {
        "description": "Variant-specific attributes such as color and size",
        "properties": {
          "color": {
            "description": "Color of the product variant",
            "example": "Red",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "size": {
            "description": "Size of the product variant",
            "example": "Large",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Attributes",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Return": {
        "properties": {
          "external_references": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Return.ExternalReference"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "short_uid": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "external_references"
        ],
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Return",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalOrderReference": {
        "description": "Links the return to the original order in the merchant's system",
        "properties": {
          "id": {
            "description": "Order identifier in the merchant's system",
            "example": "12345",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "number": {
            "description": "Human-readable order number",
            "example": "#1001",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "id"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalOrderReference",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ProductVariant": {
        "description": "Details about the specific product variant being returned",
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.Attributes",
            "description": "Variant attributes like color and size"
          },
          "external_product_variant_reference": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.ExternalReference",
            "description": "Reference to the variant in the merchant's system"
          },
          "id": {
            "description": "Unique identifier for the product variant",
            "example": "variant_123",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "description": "Display name of the product variant",
            "example": "Classic T-Shirt - Red/Large",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "sku": {
            "description": "Stock Keeping Unit identifier",
            "example": "TSH-RED-L",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "upc": {
            "description": "Universal Product Code",
            "example": "012345678905",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "id",
          "name",
          "external_product_variant_reference",
          "attributes",
          "sku"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ProductVariant",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Fee": {
        "description": "A fee or adjustment applied to the return case or individual items",
        "properties": {
          "category": {
            "description": "The category of the adjustment (e.g., RESTOCKING_FEE, SHIPPING_FEE)",
            "enum": [
              "FLAT_FEE",
              "SHIPPING_FEE",
              "SHIPPING_LOGISTICS_FEE",
              "WITHHELD_TAXES",
              "REMIT_METHOD",
              "REMIT_STORE_CREDIT_FEE",
              "REMIT_REFUND_FEE",
              "REMIT_EXCHANGE_FEE",
              "BONUS",
              "MANUAL_MERCHANT_ADJUSTMENT",
              "OTHER"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "fee": {
            "$ref": "#/components/schemas/ReturnBear.Schema.Common.Types.Money",
            "description": "The monetary amount of the fee",
            "nullable": true
          },
          "name": {
            "description": "Human-readable name of the fee",
            "example": "Restocking Fee",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "name",
          "category"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Fee",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload": {
        "properties": {
          "courier": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "description": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "destination": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Destination",
            "nullable": true
          },
          "documents": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Document"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "id": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "occurred_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "origin": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Origin",
            "nullable": true
          },
          "returns": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Return"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "tracking_events": {
            "items": {
              "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.TrackingEvent"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "tracking_number": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "tracking_status": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "returns",
          "tracking_events",
          "documents"
        ],
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Destination": {
        "properties": {
          "recipient_id": {
            "format": "int64",
            "nullable": true,
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          },
          "recipient_name": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "recipient_type": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Destination",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Address": {
        "description": "Physical address details for tracking events",
        "properties": {
          "city": {
            "description": "City name",
            "example": "Toronto",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "country_code": {
            "description": "ISO country code",
            "enum": [
              "AD",
              "AE",
              "AF",
              "AG",
              "AI",
              "AL",
              "AM",
              "AO",
              "AQ",
              "AR",
              "AS",
              "AT",
              "AU",
              "AW",
              "AX",
              "AZ",
              "BA",
              "BB",
              "BD",
              "BE",
              "BF",
              "BG",
              "BH",
              "BI",
              "BJ",
              "BL",
              "BM",
              "BN",
              "BO",
              "BQ",
              "BR",
              "BS",
              "BT",
              "BV",
              "BW",
              "BY",
              "BZ",
              "CA",
              "CC",
              "CD",
              "CF",
              "CG",
              "CH",
              "CI",
              "CK",
              "CL",
              "CM",
              "CN",
              "CO",
              "CR",
              "CU",
              "CV",
              "CW",
              "CX",
              "CY",
              "CZ",
              "DE",
              "DJ",
              "DK",
              "DM",
              "DO",
              "DZ",
              "EC",
              "EE",
              "EG",
              "EH",
              "ER",
              "ES",
              "ET",
              "FI",
              "FJ",
              "FK",
              "FM",
              "FO",
              "FR",
              "GA",
              "GB",
              "GD",
              "GE",
              "GF",
              "GG",
              "GH",
              "GI",
              "GL",
              "GM",
              "GN",
              "GP",
              "GQ",
              "GR",
              "GT",
              "GU",
              "GW",
              "GY",
              "HK",
              "HM",
              "HN",
              "HR",
              "HT",
              "HU",
              "ID",
              "IE",
              "IL",
              "IM",
              "IN",
              "IO",
              "IQ",
              "IR",
              "IS",
              "IT",
              "JE",
              "JM",
              "JO",
              "JP",
              "KE",
              "KG",
              "KH",
              "KI",
              "KM",
              "KN",
              "KP",
              "KR",
              "KW",
              "KY",
              "KZ",
              "LA",
              "LB",
              "LC",
              "LI",
              "LK",
              "LR",
              "LS",
              "LT",
              "LU",
              "LV",
              "LY",
              "MA",
              "MC",
              "MD",
              "ME",
              "MF",
              "MG",
              "MH",
              "MK",
              "ML",
              "MM",
              "MN",
              "MO",
              "MP",
              "MQ",
              "MR",
              "MS",
              "MT",
              "MU",
              "MV",
              "MW",
              "MX",
              "MY",
              "MZ",
              "NA",
              "NC",
              "NE",
              "NF",
              "NG",
              "NI",
              "NL",
              "NO",
              "NP",
              "NR",
              "NU",
              "NZ",
              "OM",
              "PA",
              "PE",
              "PF",
              "PG",
              "PH",
              "PK",
              "PL",
              "PM",
              "PN",
              "PR",
              "PS",
              "PT",
              "PW",
              "PY",
              "QA",
              "RE",
              "RO",
              "RS",
              "RU",
              "RW",
              "SA",
              "SB",
              "SC",
              "SD",
              "SE",
              "SG",
              "SH",
              "SI",
              "SJ",
              "SK",
              "SL",
              "SM",
              "SN",
              "SO",
              "SR",
              "SS",
              "ST",
              "SV",
              "SX",
              "SY",
              "SZ",
              "TC",
              "TD",
              "TF",
              "TG",
              "TH",
              "TJ",
              "TK",
              "TL",
              "TM",
              "TN",
              "TO",
              "TR",
              "TT",
              "TV",
              "TW",
              "TZ",
              "UA",
              "UG",
              "UM",
              "US",
              "UY",
              "UZ",
              "VA",
              "VC",
              "VE",
              "VG",
              "VI",
              "VN",
              "VU",
              "WF",
              "WS",
              "YE",
              "YT",
              "ZA",
              "ZM",
              "ZW",
              "UK"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          },
          "name": {
            "description": "Name associated with the address",
            "example": "Distribution Center",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "postal_code": {
            "description": "Postal or ZIP code",
            "example": "M5V 3A8",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "province": {
            "description": "Province or state code",
            "example": "ON",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "city",
          "province",
          "country_code"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Address",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ListReturnMethodsResponse": {
        "anyOf": [
          {
            "properties": {
              "courier": {
                "$ref": "#/components/schemas/ListCourierReturnMethodResponse"
              },
              "return_point": {
                "$ref": "#/components/schemas/ReturnPointReturnMethodResponse"
              }
            },
            "required": [
              "return_point"
            ],
            "x-struct": null,
            "x-validate": null
          },
          {
            "properties": {
              "courier": {
                "$ref": "#/components/schemas/ListCourierReturnMethodResponse"
              },
              "return_point": {
                "$ref": "#/components/schemas/ReturnPointReturnMethodResponse"
              }
            },
            "required": [
              "courier"
            ],
            "x-struct": null,
            "x-validate": null
          }
        ],
        "description": "List return methods response",
        "title": "ListReturnMethodsResponse",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.ListReturnMethodsResponse",
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Return.ExternalReference": {
        "properties": {
          "type": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "value": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.FulfillmentEventPayload.Return.ExternalReference",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "Feature": {
        "properties": {
          "description": {
            "description": "A detailed description of the feature",
            "example": "Get your refund instantly upon drop-off",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "description": "The display name of the feature",
            "example": "Instant Refund",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "type": {
            "description": "The type of feature available for the return method.",
            "enum": [
              "instant_refund",
              "package_free",
              "label_free",
              "print_label",
              "secure_packaging",
              "standard_refund"
            ],
            "example": "instant_refund",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "type",
          "name",
          "description"
        ],
        "title": "Feature",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.Feature",
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Location": {
        "description": "Physical address and name of a return location",
        "properties": {
          "address": {
            "description": "Street address of the location",
            "example": "123 Main St, City, State 12345",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "description": "Name of the location (e.g., store name)",
            "example": "Downtown Store",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.Location",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "NotFoundError": {
        "description": "Resource not found response",
        "example": {
          "errors": {
            "detail": "Not Found"
          }
        },
        "properties": {
          "errors": {
            "properties": {
              "detail": {
                "example": "Not Found",
                "type": "string",
                "x-struct": null,
                "x-validate": null
              }
            },
            "type": "object",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "NotFoundError",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.Specs.ErrorSchemas.NotFoundError",
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ReturnMethod": {
        "description": "Specifies how the customer will return the items",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.Location",
            "description": "Physical location details if applicable.",
            "nullable": true
          },
          "method": {
            "description": "The method by which the return will be sent back.",
            "enum": [
              "MAIL_IN",
              "DROP_OFF",
              "COURIER",
              "RETURN_POINT",
              "AWAITING_RETURN_METHOD"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          }
        },
        "required": [
          "method"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ReturnMethod",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ListCourierReturnMethodResponse": {
        "description": "Courier return method",
        "properties": {
          "courier_details": {
            "description": "The details of the courier return methods",
            "items": {
              "properties": {
                "name": {
                  "description": "The courier name",
                  "example": "FedEx",
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                },
                "uid": {
                  "description": "The unique identifier for the courier return method",
                  "example": "123e4567-e89b-12d3-a456-426614174000",
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                }
              },
              "required": [
                "uid",
                "name"
              ],
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "description": {
            "description": "A detailed description for the return method",
            "example": "Print a label and mail your items back",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "features": {
            "description": "The features associated with the return method. These are helpful to the user to understand what the return method offers.",
            "items": {
              "$ref": "#/components/schemas/Feature"
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "name": {
            "description": "The return method name",
            "example": "Courier Return",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "name",
          "description",
          "features",
          "courier_details"
        ],
        "title": "ListCourierReturnMethodResponse",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.ReturnMethodSchemas.ListCourierReturnMethodResponse",
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.TrackingEvent": {
        "description": "Represents a status update in the return shipping process",
        "properties": {
          "occurred_at": {
            "description": "When this tracking event occurred",
            "example": "2024-01-15T10:30:00Z",
            "format": "date-time",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "origin_location": {
            "$ref": "#/components/schemas/ReturnBear.Webhooks.Payloads.ReturnEventPayload.Address",
            "description": "Location where this event was recorded",
            "nullable": true
          },
          "status": {
            "description": "Current tracking status",
            "enum": [
              "RECEIVED_AT_RETURN_POINT",
              "IN_TRANSIT_TO_HUB",
              "RECEIVED_AT_HUB",
              "APPROVED",
              "PENDING"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          }
        },
        "required": [
          "status",
          "occurred_at"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.TrackingEvent",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ItemVerificationSummary": {
        "description": "Contains verification results and evidence photos for a returned item",
        "properties": {
          "photos": {
            "description": "Array of photo URLs captured during verification",
            "example": [
              "https://example.com/photo1.jpg"
            ],
            "items": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            },
            "nullable": true,
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "verification_result": {
            "description": "The outcome of the item verification process",
            "enum": [
              "ITEM_LIKE_NEW",
              "ITEM_NOT_RECEIVED",
              "ITEM_DAMAGED",
              "PENDING"
            ],
            "type": "string",
            "x-case-insensitive": true,
            "x-struct": null,
            "x-validate": "Elixir.ReturnBear.Utils.OpenApiSpexBuilder.CaseInsensitiveEnumValidator"
          }
        },
        "required": [
          "verification_result"
        ],
        "title": "ReturnBear.Webhooks.Payloads.ReturnEventPayload.ItemVerificationSummary",
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "Address": {
        "properties": {
          "address1": {
            "description": "The first line of the address",
            "example": "123 Main St",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "address2": {
            "description": "The second line of the address",
            "example": "Apt 1",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "city": {
            "description": "The city of the address",
            "example": "Toronto",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code",
            "example": "CA",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "first_name": {
            "description": "The first name associated with the address",
            "example": "John",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "last_name": {
            "description": "The last name associated with the address",
            "example": "Doe",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "postal_code": {
            "description": "The postal code or zip code of the address",
            "example": "M5V 3L9",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "province": {
            "description": "The province or state of the address",
            "example": "ON",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "address1",
          "city",
          "province",
          "postal_code",
          "country_code"
        ],
        "title": "Address",
        "type": "object",
        "x-struct": "Elixir.ReturnBearWeb.Api.V1.Specs.AddressSchema",
        "x-validate": null
      }
    },
    "securitySchemes": {
      "authorization": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "ReturnBear Partner API",
    "version": "1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/return_cases/{return_case_uid}/return_methods": {
      "get": {
        "callbacks": {},
        "operationId": "ReturnBearWeb.API.V1.ReturnMethodController.index",
        "parameters": [
          {
            "description": "Return case ID. UUID generated by ReturnBear.",
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "in": "path",
            "name": "return_case_uid",
            "required": true,
            "schema": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListReturnMethodsResponse"
                }
              }
            },
            "description": "Return methods retrieved successfully"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnauthorizedError"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFoundError"
                }
              }
            },
            "description": "Not found"
          }
        },
        "security": [
          {
            "authorization": []
          }
        ],
        "summary": "Get all return methods for a return",
        "tags": [
          "Returns"
        ]
      }
    }
  },
  "security": [],
  "servers": [
    {
      "url": "https://partners.returnbear.com",
      "variables": {}
    }
  ],
  "webhooks": {
    "fulfillmentEvent": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FulfillmentWebhookEvent"
              }
            }
          },
          "description": "The webhook event payload sent by ReturnBear when the subscribed event occurs.\n\nReturnBear will send an HTTP POST request to your configured webhook URL with this JSON payload.\nYour endpoint should respond with a 2xx status code to acknowledge receipt.\n",
          "required": true
        },
        "responses": {
          "200": {
            "description": "Success. Your endpoint should return a 2xx status code to acknowledge receipt.\n\nReturnBear will retry failed webhook deliveries using exponential backoff.\nIf your endpoint consistently returns errors, the webhook may be automatically disabled.\n"
          }
        },
        "tags": []
      }
    },
    "returnEvent": {
      "post": {
        "callbacks": {},
        "deprecated": false,
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReturnWebhookEvent"
              }
            }
          },
          "description": "The webhook event payload sent by ReturnBear when the subscribed event occurs.\n\nReturnBear will send an HTTP POST request to your configured webhook URL with this JSON payload.\nYour endpoint should respond with a 2xx status code to acknowledge receipt.\n",
          "required": true
        },
        "responses": {
          "200": {
            "description": "Success. Your endpoint should return a 2xx status code to acknowledge receipt.\n\nReturnBear will retry failed webhook deliveries using exponential backoff.\nIf your endpoint consistently returns errors, the webhook may be automatically disabled.\n"
          }
        },
        "tags": []
      }
    }
  }
}
```