latestOpenAPI 3.0.32026-08-215925112.0 MB

36be0dca14e7

api
purchaseintents

Update a PurchaseIntent Strategy

put/api/purchaseintents/strategies/{id}

Path parameters

idstring required

The id of the purchase intent strategy

Request body

namestring

Name of the strategy

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

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