surecart/request/model
Filter the model instance before an API request is made. This is the primary way to modify data being sent to the API for any model (checkouts, orders, customers, etc.).
Add Affiliate Tracking
Block Checkout Based on Conditions
surecart/request/response
Filter the API response after it’s received. Use this to transform, enrich, or modify response data before it’s used.
surecart/request/args
Filter the HTTP request arguments before sending. This allows you to modify headers, timeouts, or other HTTP-level settings.
surecart/request/endpoint
Filter the API endpoint URL before the request is made.
Related
Models
Hook into model hydration to modify data after it’s received.
Checkout
Higher-level checkout actions and filters.