<aside> <img src="notion://custom_emoji/22cdfe26-c4cc-4a90-b9fd-de1c57a561ac/14ed7cb3-d76c-809a-8bc2-007a409b7fa6" alt="notion://custom_emoji/22cdfe26-c4cc-4a90-b9fd-de1c57a561ac/14ed7cb3-d76c-809a-8bc2-007a409b7fa6" width="40px" /> TABLE OF CONTENTS

Request urls API | Method PATCH

[<https://content.view-travel.com/v3/api/packages/><id>/](<https://content.view-travel.com/v3/api/packages/><id>/)

List of parameters for Package

PARAMETERS MANDATORY TYPE VALUES THAT CAN BE TAKEN
transport NO string Transport ID: Transport type “price” See Transport Price
name NO string Name you want the package with in the budget
expiration_date NO string Package expiration date in the format "yyyy-mm-dd”
payment_link No string [url] Payment link
price_total NO float Price Total
rate NO floar Rate
discount NO float Discount when applying to the package
final_price NO floar Final package price
comment NO string Comments you would like to add to the package
currency NO integer
is_final_price_price_from NO boolean true” If in "my trip" you want to show price from. “false” by default
is_accepted NO boolean "true" when the client accepts the quote. “false” by default

Include in headers

headers: {
		'Content-Type': 'application/json',
    'Accept': 'application/json',
    'Authorization': Bearer YOUR_TOKEN_REFRESH' ,
}

Alll parameters to send the request

{
    "transport": 187,
    "name": "Luxury Package",
    "expiration_date": "2025-01-31",
    "payment_link": "",
    "price_total": "5000.00",
    "rate": "20.00",
    "discount": "40.00",
    "final_price": "4980.00",
    "comment": "",
    "order": 2,
    "currency": null,
    "is_final_price_price_from": false,
    "is_accepted": false
}

Response to the request

{
    "id": 2,
    "transport": 187,
    "name": "Luxury Package",
    "expiration_date": "2025-01-31",
    "payment_link": "",
    "price_total": "5000.00",
    "rate": "20.00",
    "discount": "40.00",
    "final_price": "4980.00",
    "comment": "",
    "order": 2,
    "currency": null,
    "is_final_price_price_from": false,
    "is_accepted": false
}

Transport types

Transport

Search Activities

Search Restaurants

Search Services

Transport Conditions

Transport Cruise

Transport Destination

Transport Activities

Transport Flights

Transport Hotel

Transport Files

Ship

Transport Traveler

Transport Services

Transport Price

Services