- create_client
- client
- create_user
- user
- user_invitations
- items
- store
- subscriptions
- subscription_settings
- customer_portal_settings
- item_categories
- taxes
- webhooks
- send_webhooks
- payment_method_sets
- coupons
- template_sets
- template_configs
- cart_templates
- cart_include_templates
- checkout_templates
- receipt_templates
- email_templates
- error_entries
- downloadables
- payment_gateways
- hosted_payment_gateways
- fraud_protections
- transaction_journal_entries
- gift_cards
send webhooks
Description
Send Webhooks allows you to send data for a specific transaction, customer, or subscription to the webhook you specify.
To feed a webhook from the store resource, send a POST
request to send_webhooks
with the resource to feed and the webhook IDs to feed to:
[ { "resource": "https://api.foxycart.com/transactions/transaction-id", "refeed_webhooks": [webhook-id-1, webhook-id-2] } ]
You can bulk refeed by sending an array:
[ { "resource": "https://api.foxycart.com/transactions/transaction-id-1", "refeed_webhooks": [webhook-id-1, webhook-id-2] }, { "resource": "https://api.foxycart.com/transactions/transaction-id-2", "refeed_webhooks": [webhook-id-1, webhook-id-2] } ]
To feed a webhook from the transactions, customers, or subscriptions resources, send a POST
request to send_webhooks
the webhook IDs to feed to:
{ "refeed_webhooks": [webhook-id-1, webhook-id-2] }
Interact with this resource
To interact with this resource and see it in the context of the API, you can utilise Postman or your Terminal/Console to perform requests. If you have a Foxy store, you can also use the API browser in the admin to interact with resources connected to your store.