# Order Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /orders/{order_id}:
    get:
      summary: Order Details
      deprecated: false
      description: >-
        This endpoint allows you to return the details for a specific order by
        passing the `order_id` as a path parameter. 


        :::danger[Deprecation Notice]

        - Starting **1st of September, 2026** the legacy expanded response will
        no longer be supported, the default reponse will be in light format.

        - The extended response is deprecated for all apps created after **15th
        of August,2024**. 

        - Applications created before **15 August 2024** are no longer able to
        get expanded response. `(Expires at 1st of September 2026)`


        :::


        :::tip[Note]

        • You can able to send the `reference_id` as a *query parameter* to get
        order details. Check the [List Orders
        Endpoint](https://docs.salla.dev/api-5394146/?nav=1) for more.

        • If you send the query parameter `format` and set it equal to `light`,
        you will receive the order details without Shipments, Items, Pickup
        Branch, and Customer Groups objects.

        • For old apps (expanded query parameter), the `shipping_details_id`
        inside the `shipping` object response matches the `id` returned by the
        [shipping estimated rate endpoint](https://docs.salla.dev/6899590e0).

        :::


        <Accordion title="Scopes" defaultOpen={true} icon="lucide-key-round">

        `orders.read` - Orders Read Only

        </Accordion>
      operationId: Order-Details
      tags:
        - Default module/Merchant API/APIs/Orders
        - Orders
      parameters:
        - name: order_id
          in: path
          description: The Order ID
          required: true
          example: 3155923424
          schema:
            type: integer
        - name: format
          in: query
          description: >-
            Use the format query parameter to return Order details without the
            following objects:

            - Shipments

            - Items

            - Pickup Branch

            - Customer Groups
          required: true
          example: light
          schema:
            type: string
            enum:
              - light
            x-apidog-enum:
              - name: ''
                value: light
                description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderDetails_response_body'
              examples:
                '1':
                  summary: Success
                  value:
                    status: 200
                    success: true
                    data:
                      id: 1333249299
                      external_order_id: null
                      external_reference_id: null
                      checkout_id: '2993839275531760447'
                      reference_id: 275839672
                      urls:
                        customer: >-
                          https://salla.sa/test_domin22may/account/orders/yDKpAjR
                        admin: >-
                          https://s.salla.sa/orders/order/kDXv9mr2bGzYaey9dKKzaKoPexnAwyl0
                        rating: null
                        digital_content: >-
                          https://salla.sa/test_domin22may/orders/digital/V8DBg0G3jJw4WV28r9E5qexkQgwo5EjmQRzLd1NYZlOm7obay6AMKnXl
                        gift_confirmation: null
                      date:
                        date: '2026-08-02 18:08:47.000000'
                        timezone_type: 3
                        timezone: Asia/Riyadh
                      updated_at:
                        date: '2026-08-20 14:59:39.000000'
                        timezone_type: 3
                        timezone: Asia/Riyadh
                      source: store
                      draft: false
                      read: true
                      source_details:
                        type: coupon
                        value: freedelivery
                        device: mobile
                        user-agent: >-
                          Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X)
                          AppleWebKit/605.1.15 (KHTML, like Gecko)
                          Version/26.5.2 Mobile/15E148 Safari/604.1
                        utm_source: dashboard
                        utm_campaign: ''
                        utm_medium: ''
                        utm_term: ''
                        utm_content: ''
                        ip: 2a02:9b0:41b5:1954:adb1:a8db:328b:fb3f
                      status:
                        id: 1939592358
                        name: قيد التنفيذ
                        slug: in_progress
                        customized:
                          id: 923207662
                          name: قيد التنفيذ
                      payment_method: credit_card
                      payment_methods:
                        - amount: '10.93'
                          payment_method: bank
                          transaction_reference: null
                        - amount: '5.46'
                          payment_method: credit_card
                          transaction_reference: '9682442091042222'
                      receipt_image: null
                      currency: SAR
                      amounts:
                        sub_total:
                          amount: 15
                          currency: SAR
                        shipping_cost:
                          amount: 0
                          currency: SAR
                          original_cost: 0
                          shipping_cost_discount: 0
                        cash_on_delivery:
                          amount: 0
                          currency: SAR
                        tax:
                          percent: '15.00'
                          amount:
                            amount: 2.14
                            currency: SAR
                        discounts:
                          - title: كوبون خصم freedelivery
                            type: normal
                            code: freedelivery
                            discount: '0.75'
                            currency: SAR
                            discounted_shipping: '0.00'
                            hasMarketing: false
                        total:
                          amount: 16.39
                          currency: SAR
                      exchange_rate:
                        base_currency: SAR
                        exchange_currency: SAR
                        rate: '1.00000000'
                      scope_exchange_rate: null
                      campaign:
                        medium: ''
                        source: dashboard
                        campaign: ''
                      gateway: null
                      show_weight: true
                      shipping_status: not_shippable
                      pending_payment_ends_at: 0
                      total_weight: ٢٢ كجم
                      type: normal
                      is_overweighted: false
                      has_customer_session: false
                      features:
                        shippable: true
                        is_international: false
                        internationally_shippable: false
                        digitalable: true
                        pickable: false
                        multiple_shipments_supported: false
                        order_type_price_quote: false
                        has_suspicious_alert: false
                        bullet_delivery:
                          is_bullet_delivery: false
                          bullet_countdown: 0
                          on_demand_countdown: 0
                          on_demand_delivery: false
                          on_demand_timer: false
                        wallet: true
                      receiver: null
                      actions:
                        cancellable: false
                        reorderable: false
                        payable: false
                      accepted_payment_methods:
                        - ''
                      order_branches: []
                      payment_actions:
                        refund_action:
                          refunded_transactions: []
                          pending_refund_amount: null
                          has_refund_amount: false
                          payment_method_label: البطاقة الإئتمانية
                          can_print_refund_invoice: false
                          paid_amount:
                            amount: 16.39
                            currency: SAR
                          refund_amount:
                            amount: 0
                            currency: SAR
                          loyalty_point_programs: []
                          can_send_sms: true
                          can_send_sms_msg: يرجى تفعيل احد مزودين خدمة SMS من صفحة ربط الخدمات
                          can_refund_loyalty_prize_points: false
                          can_restore_loyalty_buy_from_store_points: false
                          can_refund_to_wallet: true
                        remaining_action:
                          has_remaining_amount: false
                          payment_method_label: البطاقة الإئتمانية
                          paid_amount:
                            amount: 16.39
                            currency: SAR
                          checkout_url: ''
                          remaining_amount:
                            amount: 0
                            currency: SAR
                      address_incomplete: false
                      customer:
                        id: 1994632541
                        full_name: Mohammed Ahmed
                        first_name: Mohammed
                        last_name: Ahmed
                        mobile: 557777777
                        mobile_code: '+966'
                        email: test-email@gmail.com
                        urls:
                          customer: >-
                            https://demostore.salla.sa/dev-qemdv5vldnohhhpq/account/profile
                          admin: >-
                            https://s.salla.sa/customers/zAB3exRyLdXv5Wpk5lDarGg4p7Ej8ZKl
                        avatar: >-
                          https://cdn.assets.salla.network/prod/admin/cp/assets/images/avatar_female.png
                        gender: female
                        birthday:
                          date: '1987-08-12 00:00:00.000000'
                          timezone_type: 3
                          timezone: Asia/Riyadh
                        city: الحميمة
                        country: السعودية
                        country_code: SA
                        currency: SAR
                        location: ''
                        lang: ar
                        created_at:
                          date: '2025-12-25 12:41:10.000000'
                          timezone_type: 3
                          timezone: Asia/Riyadh
                        updated_at:
                          date: '2026-08-23 17:02:59.000000'
                          timezone_type: 3
                          timezone: Asia/Riyadh
                        type: user
                        groups: []
                      notes: null
                      cod:
                        is_available: false
                        message: طريقة الدفع عند الاستلام غير متاحة في الطلب
                      fraud_reasons: []
                      bank:
                        id: 246227777
                        bank_name: مصرف الراجحي
                        bank_id: 566146469
                        account_name: Ahmed
                        account_number: ١٢٣٤
                        iban_number: SA0000000000000000000000
                        iban_certificate: null
                        sbc_certificate: null
                        certificate_type: null
                        account_type: null
                        status: active
                      tags: []
                '2':
                  summary: Example | Full Details - Deprecated
                  value:
                    status: 200
                    success: true
                    data:
                      id: 289032373
                      reference_id: 27922
                      urls:
                        customer: >-
                          https://store_support.test/ar/engماجد
                          الغامدي/order/zAB3exRyLdXv5WpqNyMrGg4p7Ej8ZKlN
                        admin: /orders/order/zAB3exRyLdXv5WpqNyMrGg4p7Ej8ZKlN
                        rating: >-
                          https://store_support.test/ar/engماجد
                          الغامدي/rating/289032373?expires=1672829836&&signature=d977e37aa0a2cd32f8909217b4c289c98cdbcb77695b2aec2a555f528390bd5a
                      date:
                        date: '2022-10-17 18:58:07.000000'
                        timezone_type: 3
                        timezone: Asia/Riyadh
                      source: dashboard
                      draft: false
                      read: true
                      source_device: desktop
                      source_details:
                        type: dashboard
                        value: null
                        device: desktop
                        user-agent: >-
                          Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
                          AppleWebKit/537.36 (KHTML, like Gecko)
                          Chrome/105.0.0.0 Safari/537.36
                        ip: null
                      status:
                        id: 566146469
                        name: بإنتظار المراجعة
                        slug: under_review
                        customized:
                          id: 986688842
                          name: بإنتظار المراجعة
                      payment_method: waiting
                      receipt_image: >-
                        https://cdn.salla.sa/jKxK/md4Pv5jeLEX52zWTboKSVr8VmlX5tNbiu9YF00C0.png
                      currency: SAR
                      amounts:
                        sub_total:
                          amount: 60.22
                          currency: SAR
                        shipping_cost:
                          amount: 40
                          currency: SAR
                        cash_on_delivery:
                          amount: 0
                          currency: SAR
                        tax:
                          percent: '15.00'
                          amount:
                            amount: 15.03
                            currency: SAR
                        discounts: []
                        total:
                          amount: 115.25
                          currency: SAR
                      exchange_rate:
                        base_currency: KWD
                        exchange_currency: KWD
                        rate: '1.00000000'
                      scope_exchange_rate: '12.13695338'
                      shipping:
                        id: 1830458757
                        app_id: null
                        company: لبيه
                        logo: >-
                          https://cdn.salla.sa/jKxK/md4Pv5jeLEX52zWTboKSVr8VmlX5tNbiu9YF00C0.png
                        receiver:
                          name: Mohammed ماجد الغامدي
                          email: customer@example.com
                          phone: '966500000000'
                        shipper:
                          name: Riyadh
                          company_name: ماجد الغامدي Store
                          email: ''
                          phone: '0555555555'
                        pickup_address:
                          country: السعودية
                          country_code: SA
                          city: Riyadh
                          shipping_address: "7687 طريق الملك فهد الفرعي,الملك فهد,12262, 7687 طريق الملك فهد الفرعي، الملك فهد، الرياض 12262\_3010، السعودية, Riyadh,السعودية"
                          street_number: 7687 طريق الملك فهد الفرعي
                          block: الملك فهد
                          postal_code: '12262'
                          geo_coordinates:
                            lat: 24.694018
                            lng: 46.6521887
                        address:
                          country: SA
                          country_code: SA
                          city: الرياض
                          shipping_address: ' شارع 123، الحي 132 1111،, 1111,, الرياض, السعودية'
                          street_number: '123'
                          block: '132'
                          postal_code: '1111'
                          geo_coordinates:
                            lat: 0
                            lng: 0
                        shipment:
                          id: SAIF2485
                          pickup_id: null
                          tracking_link: https://api.shipengine.com/v1/labels/498498496/track
                          label:
                            format: pdf
                            url: >-
                              https://salla-dev.s3.eu-central-1.amazonaws.com/pZQq/shipping-policy/27922-1xMHJgGZHszfEGLd7NM5WVAMM7IBmfcwrR3sMI4j.pdf
                        policy_options: []
                        shipment_reference: 242712593
                        branch_id: 1723506348
                      shipments:
                        - id: 649964784
                          created_at: null
                          type: shipment
                          courier_id: 802226618
                          courier_name: أوتو
                          courier_logo: >-
                            https://salla-dev-portal.s3.eu-central-1.amazonaws.com/uploads/LUZaDEGwzFRDJKO7XVLXtix71Zb8Z2vBt6xwHrwZ.png
                          shipping_number: null
                          tracking_number: null
                          pickup_id: null
                          trackable: false
                          tracking_link: null
                          label: null
                          payment_method: cod
                          source: store
                          status: in_progress
                          total:
                            amount: 175.47
                            currency: SAR
                          cash_on_delivery:
                            amount: 0
                            currency: SAR
                          is_international: true
                          total_weight:
                            value: 0.2
                            units: kg
                          packages:
                            - item_id: 2077288690
                              external_id: null
                              quantity: 1
                              weight:
                                value: 0.2
                                units: kg
                          ship_from:
                            type: branch
                            name: مستودع الرياض المركزي
                            email: ''
                            phone: '966555855555'
                            country: السعودية
                            city: Medina
                            address_line: >-
                              3391 حسين بين عبدلله بين ضميرا,مسجد الدرع,00000,
                              3391 حسين بين عبدلله بين ضميرا, الدرق موثق, مدينة
                              42313 8700, سعودي عربية, Medina,السعودية
                            street_number: 3391 حسين بين عبدلله بين ضميرا
                            block: مسجد الدرع
                            postal_code: '00000'
                            latitude: 24.524655575978006
                            longitude: 39.56918120384216
                            branch_id: 1790435930
                          ship_to:
                            type: address
                            name: ماجد الغامدي
                            email: test@gmail.com
                            phone: '966500000000'
                            country: السعودية
                            city: الرياض
                            address_line: ' شارع طريق الملك عبدالعزيز، الحي حي العليا 70633،, villa 24,, الرياض, السعودية'
                            street_number: طريق الملك عبدالعزيز
                            block: حي العليا
                            postal_code: '70633'
                            latitude: 0
                            longitude: 0
                          meta:
                            app_id: 846904320
                            policy_options:
                              dimensions:
                                length: ''
                                width: ''
                                height: ''
                      can_cancel: false
                      show_weight: true
                      can_reorder: true
                      is_pending_payment: true
                      pending_payment_ends_at: 0
                      total_weight: ١١ كجم
                      type: normal
                      shipment_branch:
                        - id: 1469878560
                          name: الفرع الرئيسي
                          status: active
                          is_default: true
                          type: []
                        - id: 1723506348
                          name: Riyadh
                          status: active
                          is_default: false
                          type: []
                        - id: 1723506348
                          name: Riyadh
                          status: active
                          is_default: false
                          type: []
                      customer:
                        id: 2107468057
                        first_name: Mohammed
                        last_name: ماجد الغامدي
                        mobile: 555555555
                        mobile_code: '+966'
                        email: customer@example.com
                        urls:
                          customer: >-
                            https://store_support.test/ar/engماجد
                            الغامدي/profile
                          admin: /customers/V04NBbJQ8P3gDaKRrVV1wEYG7oKxqjLX
                        avatar: >-
                          https://salla-dev.s3.eu-central-1.amazonaws.com/customer_profiles/pz010MJLCJUi6kCzBChndZ7ZCFDWLmKSp5MYXE1A.png
                        gender: male
                        birthday:
                          date: '1998-08-07 00:00:00.000000'
                          timezone_type: 3
                          timezone: Asia/Riyadh
                        city: مكة
                        country: السعودية
                        country_code: SA
                        currency: SAR
                        location: امام النوري
                        updated_at:
                          date: '2022-12-29 13:20:13.000000'
                          timezone_type: 3
                          timezone: Asia/Riyadh
                      items:
                        - id: 951850235
                          name: فحم سداسي - 10 كيلو
                          sku: '6285579005111'
                          quantity: 1
                          currency: SAR
                          weight: 10
                          weight_label: ١٠ كجم
                          amounts:
                            price_without_tax:
                              amount: 45.22
                              currency: SAR
                            total_discount:
                              amount: 0
                              currency: SAR
                            tax:
                              percent: '15.00'
                              amount:
                                amount: 6.78
                                currency: SAR
                            total:
                              amount: 45.22
                              currency: SAR
                          notes: ''
                          product:
                            id: 268564496
                            type: product
                            promotion:
                              title: يدوم مدة طويلة !
                              sub_title: null
                            quantity: 1057
                            status: sale
                            is_available: true
                            sku: '6285579005111'
                            name: فحم سداسي - 10 كيلو
                            price:
                              amount: 52
                              currency: SAR
                            sale_price:
                              amount: 0
                              currency: SAR
                            currency: SAR
                            url: >-
                              https://store_support.test/ar/engماجد
                              الغامدي/epXbG
                            thumbnail: >-
                              https://salla-dev.s3.eu-central-1.amazonaws.com/pZQq/BVD74rxrvAmpmtUGQeqD9J6oinsl0hfQRoFqO7Lu.jpg
                            has_special_price: false
                            regular_price:
                              amount: 52
                              currency: SAR
                            calories: null
                            mpn: ''
                            gtin: ''
                            description: >-
                              فحم طبيعي 100% غير ضار بالصحة داخل عبوة 6 كيلو
                              مناسب للشواء أو التدفئة.
                            favorite: null
                            features:
                              availability_notify:
                                email: true
                                sms: true
                                mobile: false
                            starting_price: null
                          options: []
                          images: []
                          codes: []
                          files: []
                        - id: 177812420
                          name: الو ايفا بديل الزيت بالصبار
                          sku: '62230043780581'
                          quantity: 1
                          currency: SAR
                          weight: 1
                          weight_label: ١ كجم
                          weight_type: g
                          product_type: product
                          product_thumbnail: >-
                            https://salla-dev.s3.eu-central-1.amazonaws.com/EVxp/73683909-f8ec-410d-885b-4f990e0bb422-500x66.808510638298-fakIdXxsEkBv4rbjGCMgIoz6UNNziBIH523hKC1k.png
                          mpn: '1232112321'
                          gtin: '1231231231231'
                          amounts:
                            price_without_tax:
                              amount: 15
                              currency: SAR
                            total_discount:
                              amount: 0
                              currency: SAR
                            tax:
                              percent: '15.00'
                              amount:
                                amount: 2.25
                                currency: SAR
                            total:
                              amount: 15
                              currency: SAR
                          notes: ''
                          product:
                            id: 762341264
                            type: product
                            promotion:
                              title: null
                              sub_title: null
                            quantity: 224
                            status: sale
                            is_available: true
                            sku: '62230043780581'
                            name: الو ايفا بديل الزيت بالصبار
                            price:
                              amount: 17.25
                              currency: SAR
                            sale_price:
                              amount: 0
                              currency: SAR
                            currency: SAR
                            url: >-
                              https://store_support.test/ar/engماجد
                              الغامدي/nvrjb
                            thumbnail: >-
                              https://salla-dev.s3.eu-central-1.amazonaws.com/pZQq/AiNlkYjFO0uSwbPmBcaCQKMiIGmUsKAY25gUiiT7.jpg
                            has_special_price: false
                            regular_price:
                              amount: 17.25
                              currency: SAR
                            calories: null
                            mpn: null
                            gtin: null
                            description: ALOE EVA OIL REPLACEMENT 1
                            favorite: null
                            features:
                              availability_notify:
                                email: true
                                sms: true
                                mobile: false
                            starting_price: null
                          options: []
                          images: []
                          codes: []
                          files: []
                      product_reservations:
                        - id: 1289748598
                          from: '01:10'
                          to: '01:40'
                          date: '2023-04-18'
                      bank: null
                      tags:
                        - id: 525144736
                          name: MultiShipments
          headers: {}
          x-apidog-name: Default Response
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Object%20Not%20Found(404)'
          headers: {}
          x-apidog-name: Object Not Found
        x-200:Deprecated Response:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_response_body'
          headers: {}
          x-apidog-name: Deprecated Response
      security:
        - oauth21:
            - offline_access
      x-salla-php-method-name: retrieve
      x-salla-php-return-type: Order
      x-apidog-folder: Default module/Merchant API/APIs/Orders
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/451700/apis/api-5394147-run
components:
  schemas:
    orderDetails_response_body:
      type: object
      properties:
        status:
          type: integer
          description: >-
            Response status code, a numeric or alphanumeric identifier used to
            convey the outcome or status of a request, operation, or transaction
            in various systems and applications, typically indicating whether
            the action was successful, encountered an error, or resulted in a
            specific condition.
        success:
          type: boolean
          description: >-
            Response flag, boolean indicator used to signal a particular
            condition or state in the response of a system or application, often
            representing the presence or absence of certain conditions or
            outcomes.
        data:
          $ref: '#/components/schemas/OrderDetails'
      x-apidog-orders:
        - status
        - success
        - data
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    OrderDetails:
      type: object
      properties:
        id:
          type: integer
          description: Unique order ID.
        external_order_id:
          type: string
          description: External order ID, if available.
          nullable: true
        external_reference_id:
          type: string
          description: External reference ID associated with the order.
          nullable: true
        checkout_id:
          type: string
          description: Unique checkout ID associated with the order.
        reference_id:
          type: integer
          description: Order reference ID.
        urls:
          type: object
          description: URLs associated with the order.
          properties:
            customer:
              type: string
              description: Customer-facing order URL.
            admin:
              type: string
              description: Merchant-facing order management URL.
            rating:
              type: string
              description: Order rating URL, if available.
              nullable: true
            digital_content:
              type: string
              description: Digital content URL, if available.
              nullable: true
            gift_confirmation:
              type: string
              description: Gift confirmation URL, if available.
              nullable: true
          x-apidog-orders:
            - customer
            - admin
            - rating
            - digital_content
            - gift_confirmation
          x-apidog-ignore-properties: []
        date:
          type: object
          description: Order creation date and time information.
          properties:
            date:
              type: string
              description: Order creation date and time.
            timezone_type:
              type: integer
              description: Timezone type associated with the date.
            timezone:
              type: string
              description: Timezone associated with the date.
          x-apidog-orders:
            - date
            - timezone_type
            - timezone
          x-apidog-ignore-properties: []
        updated_at:
          type: object
          description: Order last update date and time information.
          properties:
            date:
              type: string
              description: Date and time when the order was last updated.
            timezone_type:
              type: integer
              description: Timezone type associated with the date.
            timezone:
              type: string
              description: Timezone associated with the date.
          x-apidog-orders:
            - date
            - timezone_type
            - timezone
          x-apidog-ignore-properties: []
        source:
          type: string
          description: Source associated with the order.
        draft:
          type: boolean
          description: Indicates whether the order is a draft.
        read:
          type: boolean
          description: Indicates whether the order has been read.
        source_details:
          type: object
          description: Source and attribution details associated with the order.
          properties:
            type:
              type: string
              description: Order source type.
            value:
              type: string
              description: Value associated with the order source, if available.
              nullable: true
            device:
              type: string
              description: Device type used to place the order.
            user-agent:
              type: string
              description: User agent associated with the order request.
            utm_source:
              type: string
              description: UTM source associated with the order.
            utm_campaign:
              type: string
              description: UTM campaign associated with the order.
            utm_medium:
              type: string
              description: UTM medium associated with the order.
            utm_term:
              type: string
              description: UTM term associated with the order.
            utm_content:
              type: string
              description: UTM content associated with the order.
            ip:
              type: string
              description: IP address associated with the order.
          x-apidog-orders:
            - type
            - value
            - device
            - user-agent
            - utm_source
            - utm_campaign
            - utm_medium
            - utm_term
            - utm_content
            - ip
          x-apidog-ignore-properties: []
        status:
          type: object
          description: Current order status.
          properties:
            id:
              type: integer
              description: Order status ID.
            name:
              type: string
              description: Order status name.
            slug:
              type: string
              description: Machine-readable order status slug.
            customized:
              type: object
              description: Customized order status information, if available.
              properties:
                id:
                  type: integer
                  description: Customized status ID.
                name:
                  type: string
                  description: Customized status name.
              x-apidog-orders:
                - id
                - name
              x-apidog-ignore-properties: []
              nullable: true
          x-apidog-orders:
            - id
            - name
            - slug
            - customized
          x-apidog-ignore-properties: []
        payment_method:
          type: string
          description: Primary payment method used for the order.
        payment_methods:
          type: array
          description: List of payment methods and amounts associated with the order.
          items:
            type: object
            properties:
              amount:
                type: string
                description: Amount associated with the payment method.
              payment_method:
                type: string
                description: Payment method identifier.
              transaction_reference:
                type: string
                description: Payment transaction reference, if available.
                nullable: true
            x-apidog-orders:
              - amount
              - payment_method
              - transaction_reference
            x-apidog-ignore-properties: []
        receipt_image:
          type: string
          description: Payment receipt image URL, if available.
          nullable: true
        currency:
          type: string
          description: Order currency code.
        amounts:
          type: object
          description: Breakdown of monetary amounts associated with the order.
          properties:
            sub_total:
              type: object
              description: Order subtotal before additional charges and adjustments.
              properties:
                amount:
                  type: number
                  description: Order subtotal amount.
                currency:
                  type: string
                  description: Currency code of the subtotal.
              x-apidog-orders:
                - amount
                - currency
              x-apidog-ignore-properties: []
            shipping_cost:
              type: object
              description: Shipping cost details associated with the order.
              properties:
                amount:
                  type: number
                  description: Final shipping cost.
                currency:
                  type: string
                  description: Currency code of the shipping cost.
                original_cost:
                  type: number
                  description: Original shipping cost before applying discounts.
                shipping_cost_discount:
                  type: number
                  description: Discount amount applied to the shipping cost.
              x-apidog-orders:
                - amount
                - currency
                - original_cost
                - shipping_cost_discount
              x-apidog-ignore-properties: []
            cash_on_delivery:
              type: object
              description: Cash on Delivery fee details.
              properties:
                amount:
                  type: number
                  description: Cash on Delivery fee amount.
                currency:
                  type: string
                  description: Currency code of the Cash on Delivery fee.
              x-apidog-orders:
                - amount
                - currency
              x-apidog-ignore-properties: []
            tax:
              type: object
              description: Tax details applied to the order.
              properties:
                percent:
                  type: string
                  description: Tax percentage applied to the order.
                amount:
                  type: object
                  description: Calculated tax amount.
                  properties:
                    amount:
                      type: number
                      description: Tax amount applied to the order.
                    currency:
                      type: string
                      description: Currency code of the tax amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  x-apidog-ignore-properties: []
              x-apidog-orders:
                - percent
                - amount
              x-apidog-ignore-properties: []
            discounts:
              type: array
              description: List of discounts applied to the order.
              items:
                type: object
                properties:
                  title:
                    type: string
                    description: Display title of the applied discount.
                  type:
                    type: string
                    description: Type of discount applied.
                  code:
                    type: string
                    description: Discount or coupon code.
                  discount:
                    type: string
                    description: Discount amount applied.
                  currency:
                    type: string
                    description: Currency code of the discount.
                  discounted_shipping:
                    type: string
                    description: Discount amount applied to shipping.
                  hasMarketing:
                    type: boolean
                    description: >-
                      Indicates whether the discount is associated with
                      marketing.
                x-apidog-orders:
                  - title
                  - type
                  - code
                  - discount
                  - currency
                  - discounted_shipping
                  - hasMarketing
                x-apidog-ignore-properties: []
            total:
              type: object
              description: Final total amount of the order.
              properties:
                amount:
                  type: number
                  description: Final order total amount.
                currency:
                  type: string
                  description: Currency code of the final order total.
              x-apidog-orders:
                - amount
                - currency
              x-apidog-ignore-properties: []
          x-apidog-orders:
            - sub_total
            - shipping_cost
            - cash_on_delivery
            - tax
            - discounts
            - total
          x-apidog-ignore-properties: []
        exchange_rate:
          type: object
          description: Currency exchange rate information associated with the order.
          properties:
            base_currency:
              type: string
              description: Base currency used for the exchange rate.
            exchange_currency:
              type: string
              description: Currency into which the base currency is exchanged.
            rate:
              type: string
              description: Exchange rate between the base and exchange currencies.
          x-apidog-orders:
            - base_currency
            - exchange_currency
            - rate
          x-apidog-ignore-properties: []
        scope_exchange_rate:
          type: object
          description: Scope-specific exchange rate information, if available.
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        campaign:
          type: object
          description: >-
            Marketing campaign attribution information associated with the
            order.
          properties:
            medium:
              type: string
              description: Marketing medium associated with the order.
            source:
              type: string
              description: Marketing source associated with the order.
            campaign:
              type: string
              description: Marketing campaign associated with the order.
          x-apidog-orders:
            - medium
            - source
            - campaign
          x-apidog-ignore-properties: []
        gateway:
          type: object
          description: Payment gateway information, if available.
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        show_weight:
          type: boolean
          description: Indicates whether the order weight should be displayed.
        shipping_status:
          type: string
          description: Current shipping status of the order.
        pending_payment_ends_at:
          type: integer
          description: Pending payment expiration value.
        total_weight:
          type: string
          description: Total order weight.
        type:
          type: string
          description: Order type.
        is_overweighted:
          type: boolean
          description: Indicates whether the order exceeds the allowed weight.
        has_customer_session:
          type: boolean
          description: Indicates whether the order has an associated customer session.
        features:
          type: object
          description: Features and capabilities available for the order.
          properties:
            shippable:
              type: boolean
              description: Indicates whether the order can be shipped.
            is_international:
              type: boolean
              description: Indicates whether the order is international.
            internationally_shippable:
              type: boolean
              description: Indicates whether the order can be shipped internationally.
            digitalable:
              type: boolean
              description: >-
                Indicates whether the order supports digital products or
                content.
            pickable:
              type: boolean
              description: Indicates whether the order supports pickup.
            multiple_shipments_supported:
              type: boolean
              description: Indicates whether the order supports multiple shipments.
            order_type_price_quote:
              type: boolean
              description: Indicates whether the order is a price quote order.
            has_suspicious_alert:
              type: boolean
              description: Indicates whether the order has a suspicious activity alert.
            bullet_delivery:
              type: object
              description: Bullet and on-demand delivery details.
              properties:
                is_bullet_delivery:
                  type: boolean
                  description: Indicates whether Bullet Delivery is enabled.
                bullet_countdown:
                  type: integer
                  description: Countdown value associated with Bullet Delivery.
                on_demand_countdown:
                  type: integer
                  description: Countdown value associated with on-demand delivery.
                on_demand_delivery:
                  type: boolean
                  description: Indicates whether on-demand delivery is enabled.
                on_demand_timer:
                  type: boolean
                  description: Indicates whether the on-demand delivery timer is enabled.
              x-apidog-orders:
                - is_bullet_delivery
                - bullet_countdown
                - on_demand_countdown
                - on_demand_delivery
                - on_demand_timer
              x-apidog-ignore-properties: []
            wallet:
              type: boolean
              description: >-
                Indicates whether wallet functionality is available for the
                order.
          x-apidog-orders:
            - shippable
            - is_international
            - internationally_shippable
            - digitalable
            - pickable
            - multiple_shipments_supported
            - order_type_price_quote
            - has_suspicious_alert
            - bullet_delivery
            - wallet
          x-apidog-ignore-properties: []
        receiver:
          type: object
          description: Order receiver information, if available.
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        actions:
          type: object
          description: Actions currently available for the order.
          properties:
            cancellable:
              type: boolean
              description: Indicates whether the order can be cancelled.
            reorderable:
              type: boolean
              description: Indicates whether the order can be reordered.
            payable:
              type: boolean
              description: Indicates whether the order can currently be paid.
          x-apidog-orders:
            - cancellable
            - reorderable
            - payable
          x-apidog-ignore-properties: []
        accepted_payment_methods:
          type: array
          description: List of payment methods accepted for the order.
          items:
            type: string
        order_branches:
          type: array
          description: List of branches associated with the order.
          items:
            type: object
            x-apidog-orders: []
            properties: {}
            x-apidog-ignore-properties: []
        payment_actions:
          type: object
          description: Payment-related actions and payment state associated with the order.
          properties:
            refund_action:
              type: object
              description: Refund information and actions available for the order.
              properties:
                refunded_transactions:
                  type: array
                  description: List of transactions that have already been refunded.
                  items:
                    type: object
                    x-apidog-orders: []
                    properties: {}
                    x-apidog-ignore-properties: []
                pending_refund_amount:
                  type: number
                  description: Amount currently pending for refund, if applicable.
                  x-apidog-orders: []
                  properties: {}
                  x-apidog-ignore-properties: []
                  nullable: true
                has_refund_amount:
                  type: boolean
                  description: Indicates whether an amount is available for refund.
                payment_method_label:
                  type: string
                  description: Display label of the payment method.
                can_print_refund_invoice:
                  type: boolean
                  description: Indicates whether a refund invoice can be printed.
                paid_amount:
                  type: object
                  description: Amount already paid for the order.
                  properties:
                    amount:
                      type: number
                      description: Paid amount.
                    currency:
                      type: string
                      description: Currency code of the paid amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  x-apidog-ignore-properties: []
                refund_amount:
                  type: object
                  description: Refund amount information.
                  properties:
                    amount:
                      type: number
                      description: Refund amount.
                    currency:
                      type: string
                      description: Currency code of the refund amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  x-apidog-ignore-properties: []
                loyalty_point_programs:
                  type: array
                  description: Loyalty point programs associated with the refund.
                  items:
                    type: object
                    x-apidog-orders: []
                    properties: {}
                    x-apidog-ignore-properties: []
                can_send_sms:
                  type: boolean
                  description: Indicates whether an SMS notification can be sent.
                can_send_sms_msg:
                  type: string
                  description: >-
                    Message describing SMS notification availability or
                    requirements.
                can_refund_loyalty_prize_points:
                  type: boolean
                  description: Indicates whether loyalty prize points can be refunded.
                can_restore_loyalty_buy_from_store_points:
                  type: boolean
                  description: >-
                    Indicates whether loyalty points earned from the store
                    purchase can be restored.
                can_refund_to_wallet:
                  type: boolean
                  description: >-
                    Indicates whether the refund can be issued to the customer's
                    wallet.
              x-apidog-orders:
                - refunded_transactions
                - pending_refund_amount
                - has_refund_amount
                - payment_method_label
                - can_print_refund_invoice
                - paid_amount
                - refund_amount
                - loyalty_point_programs
                - can_send_sms
                - can_send_sms_msg
                - can_refund_loyalty_prize_points
                - can_restore_loyalty_buy_from_store_points
                - can_refund_to_wallet
              x-apidog-ignore-properties: []
            remaining_action:
              type: object
              description: >-
                Information and actions related to any remaining unpaid order
                amount.
              properties:
                has_remaining_amount:
                  type: boolean
                  description: >-
                    Indicates whether the order has a remaining amount to be
                    paid.
                payment_method_label:
                  type: string
                  description: Display label of the payment method.
                paid_amount:
                  type: object
                  description: Amount already paid toward the order.
                  properties:
                    amount:
                      type: number
                      description: Paid amount.
                    currency:
                      type: string
                      description: Currency code of the paid amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  x-apidog-ignore-properties: []
                checkout_url:
                  type: string
                  description: Checkout URL used to pay the remaining order amount.
                remaining_amount:
                  type: object
                  description: Remaining order amount to be paid, if applicable.
                  properties:
                    amount:
                      type: number
                      description: Remaining amount.
                    currency:
                      type: string
                      description: Currency code of the remaining amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  x-apidog-ignore-properties: []
                  nullable: true
              x-apidog-orders:
                - has_remaining_amount
                - payment_method_label
                - paid_amount
                - checkout_url
                - remaining_amount
              x-apidog-ignore-properties: []
          x-apidog-orders:
            - refund_action
            - remaining_action
          x-apidog-ignore-properties: []
        address_incomplete:
          type: boolean
          description: >-
            Indicates whether the address associated with the order is
            incomplete.
        customer:
          type: object
          description: Customer information associated with the order.
          properties:
            id:
              type: integer
              description: Unique customer ID.
            full_name:
              type: string
              description: Customer's full name.
            first_name:
              type: string
              description: Customer's first name.
            last_name:
              type: string
              description: Customer's last name.
            mobile:
              type: integer
              description: Customer's mobile number.
            mobile_code:
              type: string
              description: >-
                International calling code associated with the customer's mobile
                number.
            email:
              type: string
              description: Customer's email address.
            urls:
              type: object
              description: URLs associated with the customer.
              properties:
                customer:
                  type: string
                  description: Customer-facing profile URL.
                admin:
                  type: string
                  description: Merchant-facing customer management URL.
              x-apidog-orders:
                - customer
                - admin
              x-apidog-ignore-properties: []
            avatar:
              type: string
              description: URL of the customer's avatar, if available.
              nullable: true
            gender:
              type: string
              description: Customer's gender, if available.
              nullable: true
            birthday:
              type: object
              description: Customer's date of birth information, if available.
              properties:
                date:
                  type: string
                  description: Customer's date of birth.
                timezone_type:
                  type: integer
                  description: Timezone type associated with the date.
                timezone:
                  type: string
                  description: Timezone associated with the date.
              x-apidog-orders:
                - date
                - timezone_type
                - timezone
              x-apidog-ignore-properties: []
              nullable: true
            city:
              type: string
              description: Customer's city, if available.
              nullable: true
            country:
              type: string
              description: Customer's country, if available.
              nullable: true
            country_code:
              type: string
              description: Customer's country code, if available.
              nullable: true
            currency:
              type: string
              description: Customer's associated currency.
            location:
              type: string
              description: Customer's location information, if available.
              nullable: true
            lang:
              type: string
              description: Customer's preferred language.
            created_at:
              type: object
              description: Customer creation date and time information.
              properties:
                date:
                  type: string
                  description: Date and time when the customer record was created.
                timezone_type:
                  type: integer
                  description: Timezone type associated with the date.
                timezone:
                  type: string
                  description: Timezone associated with the date.
              x-apidog-orders:
                - date
                - timezone_type
                - timezone
              x-apidog-ignore-properties: []
            updated_at:
              type: object
              description: Customer last update date and time information.
              properties:
                date:
                  type: string
                  description: Date and time when the customer record was last updated.
                timezone_type:
                  type: integer
                  description: Timezone type associated with the date.
                timezone:
                  type: string
                  description: Timezone associated with the date.
              x-apidog-orders:
                - date
                - timezone_type
                - timezone
              x-apidog-ignore-properties: []
            type:
              type: string
              description: Customer account type.
            groups:
              type: array
              description: List of groups associated with the customer.
              items:
                type: object
                x-apidog-orders: []
                properties: {}
                x-apidog-ignore-properties: []
          x-apidog-orders:
            - id
            - full_name
            - first_name
            - last_name
            - mobile
            - mobile_code
            - email
            - urls
            - avatar
            - gender
            - birthday
            - city
            - country
            - country_code
            - currency
            - location
            - lang
            - created_at
            - updated_at
            - type
            - groups
          x-apidog-ignore-properties: []
        fraud_reasons:
          type: array
          description: >-
            List of fraud or suspicious-activity reasons associated with the
            order.
          items:
            type: object
            x-apidog-orders: []
            properties: {}
            x-apidog-ignore-properties: []
        bank:
          type: object
          description: Bank account information associated with the order, if available.
          properties:
            id:
              type: integer
              description: Unique bank account record ID.
            bank_name:
              type: string
              description: Bank name.
            bank_id:
              type: integer
              description: Bank identifier.
            account_name:
              type: string
              description: Bank account holder name.
            account_number:
              type: string
              description: Bank account number.
            iban_number:
              type: string
              description: IBAN associated with the bank account.
            iban_certificate:
              type: string
              description: IBAN certificate URL or reference, if available.
              nullable: true
            sbc_certificate:
              type: string
              description: Bank certificate URL or reference, if available.
              nullable: true
            certificate_type:
              type: string
              description: Certificate type, if available.
              nullable: true
            account_type:
              type: string
              description: Bank account type, if available.
              nullable: true
            status:
              type: string
              description: Current bank account status.
          x-apidog-orders:
            - id
            - bank_name
            - bank_id
            - account_name
            - account_number
            - iban_number
            - iban_certificate
            - sbc_certificate
            - certificate_type
            - account_type
            - status
          x-apidog-ignore-properties: []
          nullable: true
        tags:
          type: array
          description: List of tags associated with the order.
          items:
            type: object
            x-apidog-orders: []
            properties: {}
            x-apidog-ignore-properties: []
      x-apidog-orders:
        - id
        - external_order_id
        - external_reference_id
        - checkout_id
        - reference_id
        - urls
        - date
        - updated_at
        - source
        - draft
        - read
        - source_details
        - status
        - payment_method
        - payment_methods
        - receipt_image
        - currency
        - amounts
        - exchange_rate
        - scope_exchange_rate
        - campaign
        - gateway
        - show_weight
        - shipping_status
        - pending_payment_ends_at
        - total_weight
        - type
        - is_overweighted
        - has_customer_session
        - features
        - receiver
        - actions
        - accepted_payment_methods
        - order_branches
        - payment_actions
        - address_incomplete
        - customer
        - fraud_reasons
        - bank
        - tags
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    order_response_body:
      type: object
      properties:
        status:
          type: number
          description: >-
            Response status code, a numeric or alphanumeric identifier used to
            convey the outcome or status of a request, operation, or transaction
            in various systems and applications, typically indicating whether
            the action was successful, encountered an error, or resulted in a
            specific condition.
        success:
          type: boolean
          description: >-
            Response flag, boolean indicator used to signal a particular
            condition or state in the response of a system or application, often
            representing the presence or absence of certain conditions or
            outcomes.
        data:
          $ref: '#/components/schemas/Order'
      x-apidog-orders:
        - status
        - success
        - data
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Order:
      type: object
      properties:
        id:
          type: integer
          description: Unique order ID.
        external_order_id:
          type: string
          description: External order ID, if available.
          nullable: true
        external_reference_id:
          type: string
          description: External reference ID associated with the order.
          nullable: true
        checkout_id:
          type: string
          description: Unique checkout ID associated with the order.
        reference_id:
          type: integer
          description: Order reference ID.
        urls:
          type: object
          properties:
            customer:
              type: string
              description: Customer-facing order URL.
            admin:
              type: string
              description: Merchant-facing order management URL.
            rating:
              type: string
              description: Order rating URL, if available.
              nullable: true
            digital_content:
              type: string
              description: Digital content URL, if available.
              nullable: true
            gift_confirmation:
              type: string
              description: Gift confirmation URL, if available.
              nullable: true
          x-apidog-orders:
            - customer
            - admin
            - rating
            - digital_content
            - gift_confirmation
          description: URLs associated with the order.
          x-apidog-ignore-properties: []
        date:
          type: object
          properties:
            date:
              type: string
              description: Order creation date and time.
            timezone_type:
              type: integer
              description: Timezone type.
            timezone:
              type: string
              description: Timezone associated with the date.
          x-apidog-orders:
            - date
            - timezone_type
            - timezone
          description: Date and time value.
          x-apidog-ignore-properties: []
        updated_at:
          type: object
          properties:
            date:
              type: string
              description: Order last update date and time.
            timezone_type:
              type: integer
              description: Timezone type.
            timezone:
              type: string
              description: Timezone associated with the date.
          x-apidog-orders:
            - date
            - timezone_type
            - timezone
          description: Updated at associated with the order.
          x-apidog-ignore-properties: []
        source:
          type: string
          description: Source associated with the order.
        draft:
          type: boolean
          description: Indicates whether the order is a draft.
        read:
          type: boolean
          description: Indicates whether the order has been read.
        source_details:
          type: object
          properties:
            type:
              type: string
              description: Order source type.
            value:
              type: string
              description: Order source value.
              nullable: true
            device:
              type: string
              description: Device type used to create the order.
            user-agent:
              type: string
              description: User agent associated with the request.
            utm_source:
              type: string
              description: UTM source associated with the order.
            utm_campaign:
              type: string
              description: UTM campaign associated with the order.
            utm_medium:
              type: string
              description: UTM medium associated with the order.
            utm_term:
              type: string
              description: UTM term associated with the order.
            utm_content:
              type: string
              description: UTM content associated with the order.
            ip:
              type: string
              description: IP address associated with the order.
          x-apidog-orders:
            - type
            - value
            - device
            - user-agent
            - utm_source
            - utm_campaign
            - utm_medium
            - utm_term
            - utm_content
            - ip
          description: Source details associated with the order.
          x-apidog-ignore-properties: []
        status:
          type: object
          properties:
            id:
              type: integer
              description: Order status ID.
            name:
              type: string
              description: Order status name.
            slug:
              type: string
              description: Order status slug.
            customized:
              type: object
              properties:
                id:
                  type: integer
                  description: Customized status ID.
                name:
                  type: string
                  description: Customized status name.
              x-apidog-orders:
                - id
                - name
              description: Customized associated with the order.
              x-apidog-ignore-properties: []
              nullable: true
          x-apidog-orders:
            - id
            - name
            - slug
            - customized
          description: Status associated with the order.
          x-apidog-ignore-properties: []
        payment_method:
          type: string
          description: Primary payment method used for the order.
        payment_methods:
          type: array
          items:
            type: object
            properties:
              amount:
                type: number
                description: Amount associated with the payment method.
              payment_method:
                type: string
                description: Payment method identifier.
              transaction_reference:
                type: string
                description: Payment transaction reference.
                nullable: true
            x-apidog-orders:
              - amount
              - payment_method
              - transaction_reference
            x-apidog-ignore-properties: []
          description: Payment methods associated with the order.
        receipt_image:
          type: string
          description: Payment receipt image URL.
          nullable: true
        currency:
          type: string
          description: Order currency.
        amounts:
          type: object
          properties:
            sub_total:
              type: object
              properties:
                amount:
                  type: number
                  description: Order subtotal amount.
                currency:
                  type: string
                  description: Currency code associated with the amount.
              x-apidog-orders:
                - amount
                - currency
              description: Order subtotal before additional charges and adjustments.
              x-apidog-ignore-properties: []
            shipping_cost:
              type: object
              properties:
                amount:
                  type: number
                  description: Shipping cost amount.
                currency:
                  type: string
                  description: Currency code associated with the amount.
                original_cost:
                  type: number
                  description: >-
                    Original shipping cost before applying any shipping
                    discount.
                shipping_cost_discount:
                  type: number
                  description: Discount amount applied to the shipping cost.
              x-apidog-orders:
                - amount
                - currency
                - original_cost
                - shipping_cost_discount
              description: Shipping cost details associated with the order.
              x-apidog-ignore-properties: []
            cash_on_delivery:
              type: object
              properties:
                amount:
                  type: number
                  description: Cash on Delivery fee amount.
                currency:
                  type: string
                  description: Currency code associated with the amount.
              x-apidog-orders:
                - amount
                - currency
              description: Cash on Delivery fee details associated with the order.
              x-apidog-ignore-properties: []
            tax:
              type: object
              properties:
                percent:
                  type: string
                  description: Tax percentage applied to the order.
                amount:
                  type: object
                  properties:
                    amount:
                      type: number
                      description: Tax amount applied to the order.
                    currency:
                      type: string
                      description: Currency code associated with the amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  description: Tax amount applied to the order.
                  x-apidog-ignore-properties: []
              x-apidog-orders:
                - percent
                - amount
              description: Tax details applied to the order.
              x-apidog-ignore-properties: []
            discounts:
              type: array
              items:
                type: object
                x-apidog-orders: []
                properties: {}
                x-apidog-ignore-properties: []
              description: List of discounts applied to the order.
            total:
              type: object
              properties:
                amount:
                  type: number
                  description: Final order total amount.
                currency:
                  type: string
                  description: Currency code associated with the amount.
              x-apidog-orders:
                - amount
                - currency
              description: Final total amount of the order.
              x-apidog-ignore-properties: []
          x-apidog-orders:
            - sub_total
            - shipping_cost
            - cash_on_delivery
            - tax
            - discounts
            - total
          description: Breakdown of monetary amounts associated with the order.
          x-apidog-ignore-properties: []
        exchange_rate:
          type: object
          properties:
            base_currency:
              type: string
              description: Base currency used for the exchange rate.
            exchange_currency:
              type: string
              description: Currency into which the base currency is exchanged.
            rate:
              type: string
              description: Exchange rate between the base currency and exchange currency.
          x-apidog-orders:
            - base_currency
            - exchange_currency
            - rate
          description: Currency exchange rate information associated with the order.
          x-apidog-ignore-properties: []
        scope_exchange_rate:
          type: object
          description: Scope-specific exchange rate information.
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        campaign:
          type: object
          properties:
            medium:
              type: string
              description: Marketing medium associated with the order.
            source:
              type: string
              description: Source associated with the order.
            campaign:
              type: string
              description: >-
                Marketing campaign attribution information associated with the
                order.
          x-apidog-orders:
            - medium
            - source
            - campaign
          description: >-
            Marketing campaign attribution information associated with the
            order.
          x-apidog-ignore-properties: []
        gateway:
          type: object
          description: Payment gateway information.
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        show_weight:
          type: boolean
          description: Indicates whether the order weight should be displayed.
        shipping_status:
          type: string
          description: Current shipping status.
        pending_payment_ends_at:
          type: integer
          description: Pending payment expiration value.
        total_weight:
          type: string
          description: Total order weight.
        type:
          type: string
          description: Order type.
        is_overweighted:
          type: boolean
          description: Indicates whether the order exceeds the allowed weight.
        has_customer_session:
          type: boolean
          description: Indicates whether the order has a customer session.
        features:
          type: object
          properties:
            shippable:
              type: boolean
              description: Indicates whether the order can be shipped.
            is_international:
              type: boolean
              description: Indicates whether the order is international.
            internationally_shippable:
              type: boolean
              description: Indicates whether the order can be shipped internationally.
            digitalable:
              type: boolean
              description: >-
                Indicates whether the order supports digital products or digital
                content.
            pickable:
              type: boolean
              description: Indicates whether the order supports pickup.
            multiple_shipments_supported:
              type: boolean
              description: Indicates whether the order supports multiple shipments.
            order_type_price_quote:
              type: boolean
              description: Indicates whether the order is a price quote order.
            has_suspicious_alert:
              type: boolean
              description: Indicates whether the order has a suspicious activity alert.
            bullet_delivery:
              type: object
              properties:
                is_bullet_delivery:
                  type: boolean
                  description: Indicates whether Bullet Delivery is enabled for the order.
                bullet_countdown:
                  type: integer
                  description: Countdown value associated with Bullet Delivery.
                on_demand_countdown:
                  type: integer
                  description: Countdown value associated with on-demand delivery.
                on_demand_delivery:
                  type: boolean
                  description: >-
                    Indicates whether on-demand delivery is enabled for the
                    order.
                on_demand_timer:
                  type: boolean
                  description: Indicates whether the on-demand delivery timer is enabled.
              x-apidog-orders:
                - is_bullet_delivery
                - bullet_countdown
                - on_demand_countdown
                - on_demand_delivery
                - on_demand_timer
              description: Bullet and on-demand delivery details associated with the order.
              x-apidog-ignore-properties: []
            wallet:
              type: boolean
              description: >-
                Indicates whether wallet functionality is available for the
                order.
          x-apidog-orders:
            - shippable
            - is_international
            - internationally_shippable
            - digitalable
            - pickable
            - multiple_shipments_supported
            - order_type_price_quote
            - has_suspicious_alert
            - bullet_delivery
            - wallet
          description: Features and capabilities available for the order.
          x-apidog-ignore-properties: []
        receiver:
          type: object
          description: Order receiver information.
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        actions:
          type: object
          properties:
            cancellable:
              type: boolean
              description: Indicates whether the order can be cancelled.
            reorderable:
              type: boolean
              description: Indicates whether the order can be reordered.
            payable:
              type: boolean
              description: Indicates whether the order can currently be paid.
          x-apidog-orders:
            - cancellable
            - reorderable
            - payable
          description: Actions currently available for the order.
          x-apidog-ignore-properties: []
        accepted_payment_methods:
          type: array
          items:
            type: string
          description: List of payment methods accepted for the order.
        payment_actions:
          type: object
          properties:
            refund_action:
              type: object
              properties:
                refunded_transactions:
                  type: array
                  items:
                    type: object
                    x-apidog-orders: []
                    properties: {}
                    x-apidog-ignore-properties: []
                  description: List of transactions that have already been refunded.
                pending_refund_amount:
                  type: number
                  description: Amount currently pending for refund, if applicable.
                  x-apidog-orders: []
                  properties: {}
                  x-apidog-ignore-properties: []
                  nullable: true
                has_refund_amount:
                  type: boolean
                  description: Indicates whether an amount is available for refund.
                payment_method_label:
                  type: string
                  description: Display label of the payment method.
                can_print_refund_invoice:
                  type: boolean
                  description: Indicates whether a refund invoice can be printed.
                paid_amount:
                  type: object
                  properties:
                    amount:
                      type: number
                      description: Amount already paid.
                    currency:
                      type: string
                      description: Currency code associated with the amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  description: Amount already paid for the order.
                  x-apidog-ignore-properties: []
                refund_amount:
                  type: object
                  properties:
                    amount:
                      type: number
                      description: Refund amount.
                    currency:
                      type: string
                      description: Currency code associated with the amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  description: Amount available or selected for refund.
                  x-apidog-ignore-properties: []
                loyalty_point_programs:
                  type: array
                  items:
                    type: object
                    x-apidog-orders: []
                    properties: {}
                    x-apidog-ignore-properties: []
                  description: Loyalty point programs associated with the refund.
                can_send_sms:
                  type: boolean
                  description: Indicates whether an SMS notification can be sent.
                can_send_sms_msg:
                  type: string
                  description: >-
                    Message describing SMS notification availability or
                    requirements.
                can_refund_loyalty_prize_points:
                  type: boolean
                  description: Indicates whether loyalty prize points can be refunded.
                can_restore_loyalty_buy_from_store_points:
                  type: boolean
                  description: >-
                    Indicates whether loyalty points earned from the store
                    purchase can be restored.
                can_refund_to_wallet:
                  type: boolean
                  description: >-
                    Indicates whether the refund can be issued to the customer's
                    wallet.
              x-apidog-orders:
                - refunded_transactions
                - pending_refund_amount
                - has_refund_amount
                - payment_method_label
                - can_print_refund_invoice
                - paid_amount
                - refund_amount
                - loyalty_point_programs
                - can_send_sms
                - can_send_sms_msg
                - can_refund_loyalty_prize_points
                - can_restore_loyalty_buy_from_store_points
                - can_refund_to_wallet
              description: Refund information and actions available for the order.
              x-apidog-ignore-properties: []
            remaining_action:
              type: object
              properties:
                has_remaining_amount:
                  type: boolean
                  description: >-
                    Indicates whether the order has a remaining amount to be
                    paid.
                payment_method_label:
                  type: string
                  description: Display label of the payment method.
                paid_amount:
                  type: object
                  properties:
                    amount:
                      type: number
                      description: Amount already paid.
                    currency:
                      type: string
                      description: Currency code associated with the amount.
                  x-apidog-orders:
                    - amount
                    - currency
                  description: Amount already paid for the order.
                  x-apidog-ignore-properties: []
                checkout_url:
                  type: string
                  description: Checkout URL used to pay the remaining order amount.
                remaining_amount:
                  type: number
                  description: Remaining order amount to be paid, if applicable.
                  x-apidog-orders: []
                  properties: {}
                  x-apidog-ignore-properties: []
                  nullable: true
              x-apidog-orders:
                - has_remaining_amount
                - payment_method_label
                - paid_amount
                - checkout_url
                - remaining_amount
              description: >-
                Information and actions related to any remaining unpaid order
                amount.
              x-apidog-ignore-properties: []
          x-apidog-orders:
            - refund_action
            - remaining_action
          description: Payment-related actions and payment state associated with the order.
          x-apidog-ignore-properties: []
        address_incomplete:
          type: boolean
          description: >-
            Indicates whether the address associated with the order is
            incomplete.
        customer:
          type: object
          properties:
            id:
              type: integer
              description: Unique customer ID.
            full_name:
              type: string
              description: Customer's full name.
            first_name:
              type: string
              description: Customer's first name.
            last_name:
              type: string
              description: Customer's last name.
            mobile:
              type: integer
              description: Customer's mobile number.
            mobile_code:
              type: string
              description: >-
                International calling code associated with the customer's mobile
                number.
            email:
              type: string
              description: Customer's email address.
            urls:
              type: object
              properties:
                customer:
                  type: string
                  description: Customer information associated with the order.
                admin:
                  type: string
                  description: Merchant-facing customer management URL.
              x-apidog-orders:
                - customer
                - admin
              description: URLs associated with the customer.
              x-apidog-ignore-properties: []
            avatar:
              type: string
              description: URL of the customer's avatar, if available.
              nullable: true
            gender:
              type: string
              description: Customer's gender, if available.
              nullable: true
            birthday:
              type: object
              properties:
                date:
                  type: string
                  description: Customer's date of birth.
                timezone_type:
                  type: integer
                  description: Timezone type associated with the date.
                timezone:
                  type: string
                  description: Timezone associated with the date.
              x-apidog-orders:
                - date
                - timezone_type
                - timezone
              description: Customer's date of birth information, if available.
              x-apidog-ignore-properties: []
              nullable: true
            city:
              type: string
              description: Customer's city, if available.
              nullable: true
            country:
              type: string
              description: Customer's country, if available.
              nullable: true
            country_code:
              type: string
              description: Customer's country code, if available.
              nullable: true
            currency:
              type: string
              description: Customer's preferred or associated currency.
            location:
              type: string
              description: Customer's location information, if available.
              nullable: true
            lang:
              type: string
              description: Customer's preferred language.
            created_at:
              type: object
              properties:
                date:
                  type: string
                  description: Date and time when the customer record was created.
                timezone_type:
                  type: integer
                  description: Timezone type associated with the date.
                timezone:
                  type: string
                  description: Timezone associated with the date.
              x-apidog-orders:
                - date
                - timezone_type
                - timezone
              description: Customer creation date and time information.
              x-apidog-ignore-properties: []
            updated_at:
              type: object
              properties:
                date:
                  type: string
                  description: Date and time when the customer record was last updated.
                timezone_type:
                  type: integer
                  description: Timezone type associated with the date.
                timezone:
                  type: string
                  description: Timezone associated with the date.
              x-apidog-orders:
                - date
                - timezone_type
                - timezone
              description: Updated at associated with the order.
              x-apidog-ignore-properties: []
            type:
              type: string
              description: Order or customer type, depending on the containing object.
            groups:
              type: array
              items:
                type: object
                x-apidog-orders: []
                properties: {}
                x-apidog-ignore-properties: []
              description: List of groups associated with the customer.
          x-apidog-orders:
            - id
            - full_name
            - first_name
            - last_name
            - mobile
            - mobile_code
            - email
            - urls
            - avatar
            - gender
            - birthday
            - city
            - country
            - country_code
            - currency
            - location
            - lang
            - created_at
            - updated_at
            - type
            - groups
          description: Customer information associated with the order.
          x-apidog-ignore-properties: []
        notes:
          type: string
          description: Notes associated with the order, if available.
          nullable: true
        fraud_reasons:
          type: array
          items:
            type: object
            x-apidog-orders: []
            properties: {}
            x-apidog-ignore-properties: []
          description: >-
            List of fraud or suspicious-activity reasons associated with the
            order.
        bank:
          type: object
          x-apidog-orders: []
          description: Bank information associated with the order, if available.
          properties: {}
          x-apidog-ignore-properties: []
          nullable: true
        tags:
          type: array
          items:
            type: object
            x-apidog-orders: []
            properties: {}
            x-apidog-ignore-properties: []
          description: List of tags associated with the order.
      x-apidog-orders:
        - id
        - external_order_id
        - external_reference_id
        - checkout_id
        - reference_id
        - urls
        - date
        - updated_at
        - source
        - draft
        - read
        - source_details
        - status
        - payment_method
        - payment_methods
        - receipt_image
        - currency
        - amounts
        - exchange_rate
        - scope_exchange_rate
        - campaign
        - gateway
        - show_weight
        - shipping_status
        - pending_payment_ends_at
        - total_weight
        - type
        - is_overweighted
        - has_customer_session
        - features
        - receiver
        - actions
        - accepted_payment_methods
        - payment_actions
        - address_incomplete
        - customer
        - notes
        - fraud_reasons
        - bank
        - tags
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Object Not Found(404):
      type: object
      properties:
        status:
          type: integer
          description: >-
            Response status code, a numeric or alphanumeric identifier used to
            convey the outcome or status of a request, operation, or transaction
            in various systems and applications, typically indicating whether
            the action was successful, encountered an error, or resulted in a
            specific condition.
        success:
          type: boolean
          description: >-
            Response flag, boolean indicator used to signal a particular
            condition or state in the response of a system or application, often
            representing the presence or absence of certain conditions or
            outcomes.
        error:
          type: object
          properties:
            code:
              type: integer
              description: >-
                Not Found Response error code, a numeric or alphanumeric unique
                identifier used to represent the error.
            message:
              type: string
              description: >-
                A message or data structure that is generated or returned when
                the response is not found or explain the error.
          required:
            - code
            - message
          x-apidog-orders:
            - code
            - message
          x-apidog-ignore-properties: []
      required:
        - status
        - success
        - error
      x-apidog-orders:
        - status
        - success
        - error
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearerAuth:
      type: bearer
      scheme: bearer
    bearerAuth1:
      type: bearer
      scheme: bearer
    api_key:
      type: apikey
      name: api_key
      in: header
    petstore_auth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://petstore.swagger.io/oauth/authorize
          scopes:
            read:pets: read your pets
            write:pets: modify pets in your account
    oauth21:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.salla.sa/oauth2/auth
          tokenUrl: ' https://accounts.salla.sa/oauth2/token '
          refreshUrl: ''
          scopes:
            offline_access: ''
          x-apidog:
            addTokenTo: header
            useTokenType: access_token
            queryParamKey: access_token
            headerPrefix: Bearer
            state: '12345678'
            redirectUri: https://app.apidog.com/oauth2-browser-callback.html
            clientId: 8a6c31ed-b841-48ca-85a9-3596e4d60d01
            clientSecret: 1c9c66a597ec06c7ab9cd89d9d4e9a8bed005e6ee279e35ede14f905170b1ea5
            codeVerifier: ''
            challengeAlgorithm: S256
            clientAuthentication: body
            useTokenConfigAsRefreshTokenConfig: true
            authRequestParams: []
            tokenRequestParams: []
servers:
  - url: ''
    description: Cloud Mock
  - url: https://api.salla.dev/admin/v2
    description: Production
security:
  - oauth21:
      - offline_access

```
