api
purchaseintents

Create PurchaseIntent Strategies

post/api/purchaseintents/strategies

Request

  • Base URL
    https://vivenu.com
  • URL
    https://vivenu.com/api/purchaseintents/strategies
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Request body

namestring required

Name of the strategy

publicNamestring nullable

Name of the strategy shown to customers, e.g. in reservation confirmations

needsApprovalboolean required

Purchase intent needs approval of the seller before considered valid

restrictedCompletionstring[] nullable

Specifies how the customer can complete their purchase intent

cancellationStrategy'notAllowed' | 'cancellationAllowed'

Response

Created

namestring required

Name of the strategy

publicNamestring nullable

Name of the strategy shown to customers, e.g. in reservation confirmations

needsApprovalboolean required

Purchase intent needs approval of the seller before considered valid

restrictedCompletionstring[] nullable

Specifies how the customer can complete their purchase intent

cancellationStrategy'notAllowed' | 'cancellationAllowed'
sellerIdstring required

The ID of the seller of the strategy

createdAtstring date-time

An ISO timestamp indicating when the strategy was created

updatedAtstring date-time

An ISO timestamp indicating when the strategy was updated

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status