Sample mutation
mutation(
$input : ReserveMarketplaceBuyNowLotInput!
){
reserveMarketplaceBuyNowLot(input : $input){
id
unitPrice
totalUnits
totalAvailableUnits
startDate
endDate
sortNumber
invoice {
invoiceID
userName
invoiceNumber
invoiceCreatedAt
}
}
}
Sample variable
{
input: {
"marketplaceBuyNowLotID":"450a1459-9662-409d-9c75-e5faef4b4efb",
"itemCount":1
}
}
Sample response
{
"data": {
"reserveMarketplaceBuyNowLot": {
"id": "bcc914a8-8e97-4898-bad7-c52b966828ac",
"unitPrice": 75,
"totalUnits": 155520,
"totalAvailableUnits": 142060,
"startDate": "2022-02-09T22:07:00Z",
"endDate": "2022-03-15T22:07:00Z",
"sortNumber": 0,
"invoice": {
"invoiceID": "d841c9b8-fe8d-4194-8f66-cb8730b9b526",
"userName": "",
"invoiceNumber": 1371,
"invoiceCreatedAt": "2022-03-14T09:14:43Z"
}
}
}
}
Arguments
Name | Type | Description |
---|---|---|
input | ReserveMarketplaceBuyNowLotInput | Contains all the information from ReserveMarketplaceBuyNowLotInput . |
Fields
Name | Type | Description |
---|---|---|
MarketplaceBuyNowOutput | Object | Contains all the information from MarketplaceBuyNowOutput . |