Journey Docs
Partner API ExplorerVenues

Set a venue’s default booking rate code

Required scopepartner:loyalty:programs:write
PUT
/v1/partner/venues/{venueExternalId}/booking-rate-code

Full replacement — the supplied body becomes the whole configuration.

Authorization

headerAuthorizationBearer <token>

WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.

Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected with 401 Invalid or expired token; send it in X-API-Key instead.

WorkOS organization API keys are not accepted yet.

Path Parameters

venueExternalId*string

External venue (property) id.

Request Body

application/json
  1. body
organizationId?string

External org id — global/superadmin callers only.

rateCode*string
Length1 <= length <= 64
rateCodeParam?string

The query parameter the venue's booking engine expects the code in — ThinkReservations uses couponCode. Omit it and the code is shown on the interstitial instead of applied. A member's tier code with no param of its own is applied with this one.

Length1 <= length <= 64

Response Body

The stored booking rate code.

curl -X PUT 'https://api-prd.cf.journey.com/v1/partner/venues/string/booking-rate-code' \  -H 'Content-Type: application/json' \  -d '{  "rateCode": "string"}'
Empty