Fetches a list of available webhook types based on search criteria.
A JSON object containing the webhook types
Unauthorized
{- "items": [
- {
- "id": 0,
- "type": "string"
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
Fetches a list of webhooks based on search criteria.
An array of webhooks
Unauthorized
{- "items": [
- {
- "status": 1,
- "store_id": 1,
- "webhook_type_id": 12,
- "method": "POST",
- "content_type": "application/json",
- "id": 1,
- "created_at": "2024-03-13 17:17:57",
- "updated_at": "2024-03-21 19:55:15"
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
Sends data to create or update a webhook configuration.
Webhook configuration response
Unexpected error
Unauthorized
{- "status": 1,
- "store_id": 1,
- "webhook_type_id": 12,
- "method": "POST",
- "content_type": "application/json"
}
{- "status": 1,
- "store_id": 1,
- "webhook_type_id": 12,
- "method": "POST",
- "content_type": "application/json",
- "id": 1,
- "created_at": "2024-03-13 17:17:57",
- "updated_at": "2024-03-21 19:55:15"
}
Updates an existing webhook configuration based on the provided ID.
Webhook configuration response
Unexpected error
Unauthorized
{- "status": 1,
- "store_id": 1,
- "webhook_type_id": 12,
- "method": "POST",
- "content_type": "application/json",
- "id": 1
}
{- "status": 1,
- "store_id": 1,
- "webhook_type_id": 12,
- "method": "POST",
- "content_type": "application/json",
- "id": 1,
- "created_at": "2024-03-13 17:17:57",
- "updated_at": "2024-03-21 19:55:15"
}
Return a 200 status to indicate that the data was received successfully
{- "event_id": "5f2b18d6c28eca001334c576",
- "event_type": "vendor.approved",
- "created_utc": 1614556800,
- "data": {
- "id": "5",
- "name": "Microtech",
- "slug": "microtech",
- "rating": {
- "star_count": "4",
- "review_count": "150"
}, - "address": {
- "street": "3704 Marigold Lane",
- "city": "Miami",
- "state": "Florida",
- "country": "US",
- "postcode": "33179"
}, - "image_url": false,
- "background_image_url": false,
- "about": {
- "type": "text",
- "content": "<p>Sample Description</p>"
}, - "attributes": [
- {
- "type": "multiselect",
- "title": "Industry",
- "value": [
- "string"
]
}
]
}
}
Return a 200 status to indicate that the data was received successfully
{- "event_id": "string",
- "event_type": "string",
- "data": {
- "entity_id": 0,
- "object": "string",
- "timestamp": "string",
- "currency": "string",
- "total": 0,
- "discount": 0,
- "status": "string",
- "payment_status": "string",
- "fulfilment_status": "string",
- "items": [
- {
- "sku": "string",
- "qty": 0,
- "vendor": {
- "object": "string",
- "entity_id": 0,
- "name": "string"
}
}
], - "customer": {
- "entity_id": 0,
- "object": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}, - "shipping_address": {
- "entity_id": 0,
- "city": "string",
- "street": [
- "string"
], - "country_code": "string",
- "postcode": "string",
- "first_name": "string",
- "last_name": "string",
- "telephone": "string"
}
}
}
Return a 200 status to indicate that the data was received successfully
{- "event_id": "string",
- "event_type": "string",
- "data": {
- "entity_id": 0,
- "object": "string",
- "items": [
- {
- "entity_id": 0,
- "sku": "string",
- "qty": 0,
- "vendor": {
- "object": "string",
- "entity_id": 0,
- "name": "string"
}
}
], - "customer": {
- "entity_id": 0,
- "object": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}
}
}
Return a 200 status to indicate that the data was received successfully
{- "event_id": "string",
- "event_type": "string",
- "data": {
- "product": {
- "id": 0,
- "sku": "string",
- "name": "string",
- "attribute_set_id": 0,
- "price": 0,
- "status": 0,
- "visibility": 0,
- "type_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "weight": 0,
- "extenstion_attributes": {
- "website_ids": [
- 0
]
}, - "product_links": "string",
- "options": { },
- "media_gallery_entries": [
- "string"
], - "tier_prices": [
- {
- "price": 0,
- "customer_group_id": 0,
- "qty": 0
}
], - "custom_attributes": [
- {
- "attribute_code": "string",
- "value": "string"
}
]
}
}
}
Return a 200 status to indicate that the data was received successfully
{- "event_id": "string",
- "event_type": "string",
- "data": {
- "shipment": {
- "billing_address_id": 0,
- "created_at": "string",
- "customer_id": 0,
- "email_sent": true,
- "entity_id": 0,
- "increment_id": "string",
- "order_id": 0,
- "shipping_address_id": 0,
- "store_id": 0,
- "total_qty": 0,
- "updated_at": "string",
- "items": [
- {
- "name": "string",
- "price": 0,
- "product_id": 0,
- "sku": "string",
- "weight": 0,
- "order_item_id": 0,
- "qty": 0
}
], - "tracks": [
- {
- "track_number": "string",
- "title": "string",
- "carrier_code": "string"
}
], - "comments": [
- "string"
]
}
}
}