Overview
Manage blacklist rules programmatically with the SellApp API.
Blacklist rules help prevent your SellApp storefront from falling victim to malicious users. They allow you to block fraud attempts by preventing purchases when customer details match one of your blacklist rules.
This section breaks each blacklist endpoint into its own page so every operation has a dedicated URL and can be indexed independently.
Endpoints
- List all blacklist rules
- Create a blacklist rule
- Retrieve a blacklist rule
- Update a blacklist rule
- Delete a blacklist rule
The blacklist model
The blacklist model contains the information storefront purchase attempts are checked against, including the rule type, the rule data, and an internal description.
Properties
- Name
idinteger- Description
Unique identifier for the blacklist rule.
- Name
typestring- Description
The type of blacklist rule. Supported types:
ASNCOUNTRYEMAILIPWILDCARD_EMAIL
- Name
datastring- Description
The data related to the rule type. Examples:
ASN:AS1234COUNTRY:BEEMAIL:rick@astley.comIP:1.3.3.7WILDCARD_EMAIL:@yahoo.com
- Name
descriptionstring- Description
The description of why this blacklist rule was created.
- Name
created_attimestamp- Description
The time at which this blacklist rule was first created.
- Name
updated_attimestamp- Description
The time at which this blacklist rule was last updated.
- Name
store_idinteger- Description
The ID of the store this blacklist rule belongs to.