Vendors

Suppliers can use vendors to indicate when experiences are sourced differently.

Get vendors

SecuritySupplier-production or Supplier-sandbox
Request
header Parameters
accept
required
string

Specify the format of the response.

Value: "application/json"
accept-version
required
string (PORTA version)

The version of PORTA for the request.

Value: Description
vnd.porta-api.v1

Version 1.0.0

Responses
200

Vendors

default

Error response

get/supplier/vendors
Request samples
Response samples
application/json
[
  • {
    }
]

Create vendor

SecuritySupplier-production or Supplier-sandbox
Request
header Parameters
accept
required
string

Specify the format of the response.

Value: "application/json"
accept-version
required
string (PORTA version)

The version of PORTA for the request.

Value: Description
vnd.porta-api.v1

Version 1.0.0

Request Body schema: application/json
name
required
string

The name of the vendor as it will appear in PORTA.

vendor_id
required
string^(?!\-|\.|\_)[0-9a-z\-\.\_]{1,50}$

The vendor ID, assigned by the supplier.

Responses
200

Vendor

default

Error response

post/supplier/vendors
Request samples
application/json
{
  • "name": "string",
  • "vendor_id": "string"
}
Response samples
application/json
{
  • "name": "string",
  • "vendor_id": "string"
}
Copyright © TUI Musement. All rights reserved.