v1
latestOpenAPI 3.0.12026-07-242871595.3 MBPLANS
Delete a plan
Deletes a plan based on the planId.
delete/v1/plans/{planId}
Path parameters
planIdstring required
Universally unique identifier (UUID) of a plan.
Headers
X-Clover-Merchant-Idstring required
Clover merchant identifier (mId).
Content-Typestring
Content type, for example: application, JSON.
User-Agentstring required
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <application>/<version>
Response
Successful response. Plan is deleted.
Example response
{
"note": "note",
"modifiedTime": "2000-01-23T04:56:07.000Z",
"amount": "amount",
"tipAmount": "tipAmount",
"subscriptionCount": 6,
"active": true,
"lastRunDate": "2000-01-23T04:56:07.000Z",
"taxRateUuids": [
"taxRateUuids",
"taxRateUuids"
],
"productUuid": "productUuid",
"merchantId": "merchantId",
"subscriptionPaidTotalAmount": 1,
"intervalCount": 0,
"name": "name",
"createdTime": "2000-01-23T04:56:07.000Z",
"interval": "DAY",
"id": "id",
"deletedTime": "2000-01-23T04:56:07.000Z",
"object": "object"
}