P_removeCallback
You can remove specified API callbacks by supplying its ID
If you remove DECLARED_STOCK_REPLACEMENT_RESERVATION or DECLARED_STOCK_REPLACEMENT_PROVISION callbacks - Declared stock key replacements feature will be disabled. You will have to re-enable it using P_enableDeclaredStockKeyReplacements mutation
Supported arguments
The following arguments are supported by P_removeCallback mutation:
Field | Type | Description |
---|---|---|
input | P_API_RemoveCallbackInput! | Callback ID to remove |
Return type
The mutation returns theP_API_RemoveCallbackResponse
type.
Example usage
Mutation
mutation removeMyCallback($id: Uuid!) {
P_removeCallback(input: { id: $id }) {
success
}
}
Example response
{
"data": {
"P_removeCallback": {
"success": true
}
}
}