Documentation Sweet Pricing API

DELETE / variants / :variantId

This endpoint deletes a pricing model from an in-app store. You can delete experimental pricing models, but you cannot delete the default pricing model.

URL

https://api.sweetpricing.com/v1.0/variants/:variantId

Header

Field Type Description
Authorization String

Header of form api-key <API key>

Authorization: api-key <API Key>

Parameters

Field Type Description
:variantId Number

Variant ID

401

Name Description
401

You are not authenticated to perform the request.

403

Name Description
403

You are not allowed to view/modify this resource.

404

Name Description
404

Resource not found.