Interface: Transaction
Represents a transaction.
Properties
addressValidationStatus?
optionaladdressValidationStatus?:AddressValidationStatus
callbackUrl?
optionalcallbackUrl?:string
URL to redirect to when a workflow is finished.
completed?
optionalcompleted?:boolean
createdAt?
optionalcreatedAt?:string
currentStakeholder?
optionalcurrentStakeholder?:Stakeholder
The stakeholder of the currently logged in user, if applicable.
customLogoLink?
optionalcustomLogoLink?:string
URL to a partner-specific logo intended to display during the workflow experience.
designExternalVariants?
optionaldesignExternalVariants?:DesignExternalVariant[]
An array of objects containing information on additional products to add to the cart. Typically only available when being passed to DesignCreationMessage
designName?
optionaldesignName?:string
User-supplied name for the associated design.
externalCartProductId?
optionalexternalCartProductId?:string
The external product id representing the product related to the transaction. This value can hold any type of transaction such as design and standard products.
externalCartProductVariantId?
optionalexternalCartProductVariantId?:string
The external product variant id representing the product related to the transaction. This value can hold any type of transaction such as design and standard products.
externalDesignProductId?
optionalexternalDesignProductId?:string
Deprecated
use externalCartProductId or designExternalVariants[x].externalProductId instead of this moving forward.
externalDesignProductVariantId?
optionalexternalDesignProductVariantId?:string
Deprecated
use externalCartProductVariantId or designExternalVariants[x].externalProductVariantId instead of this moving forward
hasAuthenticatedActions?
optionalhasAuthenticatedActions?:boolean
Whether any share actions for this Transaction require the user to be authenticated as a stakeholder
id
id:
string
A unique identifier for this transaction. Useful for reloading and modifying state of the transaction.
integrationProduct?
optionalintegrationProduct?:IntegrationProductResource
The integration product related to this lineitem.
integrationProductId?
optionalintegrationProductId?:string|null
The ID of the integration product that this transaction belongs to.
isOrdered?
optionalisOrdered?:boolean
Whether this transaction has previously been ordered.
lastSyncedAt?
optionallastSyncedAt?:string
lineItem?
optionallineItem?:LineItem
Deprecated
use isOrdered to check whether transaction has been ordered instead.
marketplaceThemeInstallConfiguration?
optionalmarketplaceThemeInstallConfiguration?:ThemeInstallConfigurationGraphQl
parentTransaction?
optionalparentTransaction?:Transaction
previewImageLink?
optionalpreviewImageLink?:string
priceModifierTotal?
optionalpriceModifierTotal?:number
printFileName1?
optionalprintFileName1?:string
printFileName2?
optionalprintFileName2?:string
printFileName3?
optionalprintFileName3?:string
printFileName4?
optionalprintFileName4?:string
printFileName5?
optionalprintFileName5?:string
printFileUrl1?
optionalprintFileUrl1?:string
printFileUrl2?
optionalprintFileUrl2?:string
printFileUrl3?
optionalprintFileUrl3?:string
printFileUrl4?
optionalprintFileUrl4?:string
printFileUrl5?
optionalprintFileUrl5?:string
product?
optionalproduct?:Product
Product that this transaction belongs to.
productId?
optionalproductId?:string
The ID of the product that this transaction belongs to.
quantity?
optionalquantity?:number
The amount of this transaction that was, or will be, ordered
recipient?
optionalrecipient?:Recipient
restApiIntegrationLink?
optionalrestApiIntegrationLink?:string
URL to the corresponding integration in the REST API.
stakeholders?
optionalstakeholders?:Stakeholder[]
The users who have access to this transaction.
transactionOwnerId?
optionaltransactionOwnerId?:string
Temporary ID that grants write permission to the transaction.
transactionShareActions?
optionaltransactionShareActions?:ShareAction[]
A list of actions that have been associated to this transaction. To be used by the client to interact further post design.
workflowFooterLogoLink?
optionalworkflowFooterLogoLink?:string
URL to a logo intended to display at the periphery of the workflow experience.
workflowId?
optionalworkflowId?:string
The workflow associated with this transaction.
workflowState?
optionalworkflowState?:string
The current state of the design.
workflowViewerLink?
optionalworkflowViewerLink?:string
URL to open the transaction in the workflow viewer.
workflowViewerReadOnlyLink?
optionalworkflowViewerReadOnlyLink?:string