api
purchaseintents

Update a PurchaseIntent Strategy

put/api/purchaseintents/strategies/{id}

Request

  • Base URL: https://vivenu.com
  • URL: https://vivenu.com/api/purchaseintents/strategies/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

The id of the purchase intent strategy

Request body

namestring

Name of the strategy

publicNamestring nullable

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

needsApprovalboolean

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

OK

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