P_triggerCallback
Simulates a purchase order to test declared stock flow.
Expect to receive a DECLARED_STOCK_RESERVATION
or a DECLARED_STOCK_PROVISION
from our side.
This mutation is only available in sandbox environment.
For more information on this flow read the Testing the "Declared Stock" in the Eneba sandbox guide.
Supported arguments
Return type
The mutation returns theP_API_TriggerCallbackResponse
type.
Example usage
mutation {
P_triggerCallback(input: {
type: DECLARED_STOCK_PROVISION,
orderId: "436bd24c-b3a2-11ee-8793-8ac8d50baed6",
auction: {
auctionId: "436bd24c-b3a2-11ee-8793-8ac8d50baed6",
price: {
amount: 100,
currency: "EUR"
},
keyCount: 1
}
}) {
success
}
}