Home
version 1.0
List Received Offers

Retrieve a list of offer

GEThttps://trimida.com/api/v1/offers

Query Parameters

limitnumber

Number of emails to retrieve.

  • Default value: 20
  • Maximum value: 100
  • Minimum value: 1
pagenumber

Number of emails to retrieve.

  • Default value: 1
  • Minimum value: 1

Response


"meta":{
  "total": 1,
  "page": 1,
  "limit": 20,
  "prevPage": null,
  "nextPage": null,
  "lastPage": 1,
  "range":[
    1
  ]
},
"items": [
  {
    "id": 10,
    "organizationId": "8fjf4f-nf5r-4f99-8b8b-b944mnd84jr",
    "userId": "f9ojdd4-1126-4361-bge4w-f5kf84nf8dsf",
    "documentId": null,
    "status": true,
    "saleIsBlocked": true,
    "name": "Example camp name",
    "urlKey": "example-camp-name",
    "fullUrlKey": "demo-trimida/example-camp-name",
    "description": "",
    "paymentMethod": [
      "casch_on_delivery",
      "bank_transfer",
      "payu"
    ],
    "rodo":[],
    "cmsSmallDescription": "Example camp small description",
    "cmsLongDescription": "Example camp small description with html",
    "metaTitle": "Example camp meta title",
    "metaDescription": "Example camp meta description",
    "createdAt": "2025-09-23T21:51:53.076Z",
    "updatedAt": "2025-09-23T21:51:53.076Z",
    "offerDate": [
      {
        "id": 9,
        "offerId": 10,
        "status": true,
        "label": "turnus I",
        "startDate": "2025-12-03T21:46:24.711Z",
        "endDate": "2025-12-03T21:46:24.711Z",
        "qty": 5,
        "price": "1000",
        "specialPrice": null,
        "deposit": null,
        "currency": "PLN"
      }
    ],
    "offerMedia": [
      {
        "id": 4, 
        "offerId": 1, 
        "assetId": "bfsdf42-0863-3578-85be-vnvb56fg54dfgd", 
        "isMain": false
      }
    ],
    "offerOptions":[
      {
        "id": 4,
        "offerId": 17,
        "title": "Place of departure",
        "fieldType": "radio",
        "required": true,
        "offerOptionValues": [
          {
            "id": 4,
            "optionId": 4,
            "value": "Example place I",
            "price": "150",
            "priceType": "fixed"
          },
          {
            "id": 5,
            "optionId": 4,
            "value": "Example place II",
            "price": "100",
            "priceType": "fixed"
          },
          {
            "id": 6,
            "optionId": 4,
            "value": "Example place III",
            "price": "50",
            "priceType": "fixed"
          },
          {
            "id": 7,
            "optionId": 4,
            "value": "Example place IV",
            "price": null,
            "priceType": "fixed"
          }
        ]
      },
  }
]