Products
Delete a product
Changed onSoft-deletes a product (hides it from listings, restorable). If the product has any purchases, deactivates it instead so the catalog row stays resolvable. Same rule in sandbox and live.
delete/v1/sdk/products/{productRef}
Request
- Base URLhttps://api.solvapay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
productRefstring required
Example:prd_1A2B3C4D
Product reference or ID
Response
Product deleted or deactivated successfully
Changes
- info
removed the
deletedenum value from theresponse property for the response status
- info
- info
the endpoint scheme security
SecretKeywas added to the API - info
the endpoint scheme security
bearerwas removed from the API - info
added the media type
application/jsonfor the response with the status
- info