Sample mutation
mutation ($marketplaceAuctionLotId: UUID!, $amount: Float!) {
createMarketplaceAuctionBid(
marketplaceAuctionBid: {marketplaceAuctionLotId: $marketplaceAuctionLotId, amount: $amount}
) {
id
marketplaceAuctionLotId
currentBid
maximumBid
amount
userId
__typename
}
}
Sample variable
{
"marketplaceAuctionLotId": "450a1459-9662-409d-9c75-e5faef4b4efb",
"amount": 100
}
Sample response
{
"data": {
"createMarketplaceAuctionBid": {
"id": "197045f6-e9a3-4c8c-ad6c-7c51b04d7ee8",
"marketplaceAuctionLotId": "450a1459-9662-409d-9c75-e5faef4b4efb",
"currentBid": 50,
"maximumBid": 100,
"amount": 50,
"userId": "cb2ba8a4-c34c-4df3-a5c6-7b3325d1a8d3",
"__typename": "MarketplaceAuctionBid"
}
}
}
Arguments
Name | Type | Description |
---|---|---|
marketplaceAuctionLotId | UUID | Id of MarketplaceAuction Lot |
amount | Integer | Amount |
Fields
Name | Type | Description |
---|---|---|
MarketplaceAuctionBid | Object | Contains all the information from MarketplaceAuctionBid . |