PackPurchaseOrder
No description
type PackPurchaseOrder implements Sortable {
id: ID!
price: Price!
status: PackOrderStatus!
state: PackOrderState!
paymentTxHash: String
packListing: PackListing
quantity: Int
packs: [Pack]
dapperIntentId: String
createdAt: Time
updatedAt: Time
expiresAt: Time
initiatedByPlatform: Platform
purchaserDapperId: String!
purchaser: UserPublicInfo
sortID: SortID
paymentOptions: [PaymentOption!]!
}
Fields
id ● ID! non-null scalar
price ● Price! non-null scalar
status ● PackOrderStatus! non-null enum
state ● PackOrderState! non-null enum
paymentTxHash ● String scalar
packListing ● PackListing object
quantity ● Int scalar
packs ● [Pack] list object
The packs in the order will be revealed as soon as payment is successful. There are a few scenarios:
- Payment Succeeded: Pack with momentIds returned and fulfillment is in processing. The moments will NOT show up with searchMintedMoments query filter byOwnerDapperID.
PackOrderState : PAYMENT_SUCCEEDED PackOrderStatus : PROCESSING
- Fulfillment is Completed: Pack with momentIds returned, order is completed. The moments will eventually show up with searchMintedMoments query filter byOwnerDapperID. Note: Moment ownership updates may still be happening when fulfillment is complete, so the moments will not be returned by searchMintedMoments query filter byOwnerDapperID right away.
PackOrderState : FULFILLMENT_SUCCEEDED PackOrderStatus : COMPLETED
- Fulfillment Failed: Pack with moment_ids returned for failed fulfillment (failed moment transfer to user). The moments will not show up with searchMintedMoments query filter byOwnerDapperID.
state : FULLFILLMENT_FAILED status : FAILED
dapperIntentId ● String scalar
createdAt ● Time scalar
updatedAt ● Time scalar
expiresAt ● Time scalar
initiatedByPlatform ● Platform enum
purchaserDapperId ● String! non-null scalar
purchaser ● UserPublicInfo object
sortID ● SortID scalar
paymentOptions ● [PaymentOption!]! non-null object
Interfaces
Sortable interface
Member of
GetUserPackOrderResponse object ● PackPurchaseOrders object