v1

latestOpenAPI 3.0.12026-07-2412502.6 MB
Order Offers

Get swap options

Get available offer swap options configured for an order offer. This is configured within the original offer and determines what swap options are available.

get/order_offers/{order_offer_id}/swap_options

Query parameters

with'initial_item_options'

Expand on the information returned by including 'with' in the query parameters. (example : with=initial_item_options)

Response

OK

totalinteger

Example response

{
  "offers": [
    {
      "date_created": "2023-04-01 00:00:00",
      "date_modified": "2023-04-01 00:00:00",
      "offer_cycles": [
        {
          "date_created": "2023-04-01 00:00:00",
          "date_modified": "2023-04-01 00:00:00",
          "offer_cycle_items": [
            {
              "date_created": "2023-04-01 00:00:00",
              "date_modified": "2023-04-01 00:00:00"
            }
          ],
          "charge_timeframe": {
            "date_created": "2023-04-01 00:00:00",
            "date_modified": "2023-04-01 00:00:00"
          }
        }
      ],
      "offer_timeframes": [
        {
          "date_created": "2023-04-01 00:00:00",
          "date_modified": "2023-04-01 00:00:00"
        }
      ],
      "offer_swap_options": [
        {
          "date_created": "2023-04-01 00:00:00",
          "date_modified": "2023-04-01 00:00:00"
        }
      ]
    }
  ]
}