Skip to main content
GET
/
api
/
booking
/
products
/
{productId}
/
journey
/
unified-view
/
form
Retrieve Unified Form View
curl --request GET \
  --url https://api.pricenow.dev/api/booking/products/{productId}/journey/unified-view/form \
  --header 'pratiq-client-id: <pratiq-client-id>'
{
  "data": {
    "title": "<string>",
    "description": [
      {
        "children": [
          {
            "_type": "<string>",
            "_key": "<string>"
          }
        ],
        "markDefs": [
          {
            "_type": "<string>",
            "_key": "<string>"
          }
        ],
        "style": "<string>",
        "listItem": "<string>",
        "level": 123
      }
    ],
    "media": [
      {
        "kind": "image",
        "url": "<string>",
        "alt": "<string>"
      }
    ],
    "currency": "<string>",
    "formBase": {
      "proceedButton": {
        "color": "<any>",
        "variant": "<any>",
        "label": "<string>"
      }
    },
    "formElements": [
      {
        "id": "<string>",
        "hasPaginatedOptions": true,
        "explanation": "<string>",
        "isValid": true,
        "error": "<any>",
        "kind": "datepicker",
        "paginationType": "date",
        "value": {
          "from": "<string>",
          "to": "<string>"
        }
      }
    ],
    "items": [
      {
        "id": 123,
        "productVariantId": 123,
        "validity": {
          "from": "<string>",
          "to": "<string>"
        },
        "personId": 123,
        "parentItemId": 123,
        "originatedItemId": 123
      }
    ],
    "isValid": true,
    "formErrors": {},
    "debugHints": [
      "<string>"
    ],
    "formState": {
      "allocation": {},
      "attributes": {},
      "validity": {
        "from": "2023-11-07T05:31:56Z",
        "to": "2023-11-07T05:31:56Z"
      }
    }
  }
}

Headers

pratiq-client-id
required

Global Webshop Client Id

pratiq-channel-uuid
string

UUID of the sales channel

Path Parameters

productId
number
required

Query Parameters

formState
object
required

Response

200 - application/json

Successful response

data
object
required