API referencePlugin contractFunctions
Remove Saved Method
POST
/functions/remove-saved-methodRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
storeId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$connectionId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$savedMethod*
Response Body
application/json
curl -X POST "https://example.com/functions/remove-saved-method" \ -H "Content-Type: application/json" \ -d '{ "storeId": "string", "connectionId": "string", "savedMethod": { "externalCustomerId": "string", "externalMethodToken": "string", "display": "string" } }'{ "ok": true}