Delete Relationship Request
const url = 'https://api.wink.travel/api/managing-entity/company-1/studio/sales-channel/request/sales-channel-1';const options = {method: 'DELETE', headers: {'Wink-Version': '2.0'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.wink.travel/api/managing-entity/company-1/studio/sales-channel/request/sales-channel-1 \ --header 'Wink-Version: 2.0'Delete a relationship request
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Remove property request owned by this company identifier
Example
company-1Remove property request with this identifier
Example
sales-channel-1Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Status of relationship request
Type of relationship request
Request goes to this supplier identifier.
Request goes to this supplier name.
What type of segment of channel is this.
Specific identifier for the company / corporation / travel agency that is retrieving the rates
Name of the owner / affiliate.
Owner / affiliate writes an intro to request a connection.
Example
{ "id": "", "createdDate": "", "lastUpdate": "", "version": "", "status": "REQUESTING", "requestType": "DIRECT_CONNECTION", "supplierIdentifier": "", "supplierName": "", "subType": "TRIP_PAY", "ownerIdentifier": "", "ownerName": "", "introductoryMessage": ""}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}