Custom Stores

Delete Custom Store

Changed on

Removes a custom store from the project. Refused while the store has active products (delete them first) and refused for good once it has reported revenue from your server (reporting_since is set), so its revenue history stays intact. The store is archived rather than erased. Requires custom_stores:write scope.

delete/v2/projects/{id}/custom-stores/{custom_store_id}

Request

  • Base URL
    https://api.superwall.com
  • URL
    https://api.superwall.com/v2/projects/{id}/custom-stores/{custom_store_id}
  • Auth
    • HTTP bearer
    • or API key in cookie accounts_superwall_token
    • or HTTP bearer

Path parameters

idstring required
custom_store_idstring required

Response

Success

idstring required
object'custom_store' required

Object type, always custom_store

deletedtrue required

Always true for deletion responses

Changes

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • info

      added subschema #1 subschema #2 to the response body anyOf list for the response status

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 from the response body anyOf list for the response status

    • info

      endpoint added