{ "opencollection": "1.0.0", "info": { "name": "Walmart Cost Management Assortment Recommendations Notifications API", "version": "1.0" }, "items": [ { "info": { "name": "Notifications", "type": "folder" }, "items": [ { "info": { "name": "Walmart Test Notification", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway.walmart.com/v3/webhooks/test", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API can be used to send a test notification to the destination URL with the sample payload." }, { "info": { "name": "Walmart All Subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://api-gateway.walmart.com/v3/webhooks/subscriptions", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ], "params": [ { "name": "subscriptionId", "value": "", "type": "query", "description": "Use this to get details of a specific subscription" }, { "name": "eventType", "value": "", "type": "query", "description": "Use this to get list of all subscriptions for a specific event type. Refer to Events section for list of available eventType." }, { "name": "resourceName", "value": "", "type": "query", "description": "Use this to get list of all subscriptions for a specific resource. Refer to Events section for list of available resourceName." }, { "name": "status", "value": "", "type": "query", "description": "Use this to get list of all subscriptions in ACTIVE or INACTIVE status" } ] }, "docs": "This API is used to retrieve the details of all subscriptions created using \"create subscription\" API." }, { "info": { "name": "Walmart Create Subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway.walmart.com/v3/webhooks/subscriptions", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API is used to create subscription for notification of an event by selecting an event type, event version, resource name, and providing event URL. One or more than one events can be subscribed for notifications in one subscription request.\n\nUse Get Event Types API to get the list of event type, event version and resource name available for subscribing.\n\nConfigure an event URL to receive the notifications.\n\nURL Authentication Options\nIf authMethod is BASIC_AUTH, while making notification req" }, { "info": { "name": "Walmart Update Subscription", "type": "http" }, "http": { "method": "PATCH", "url": "https://api-gateway.walmart.com/v3/webhooks/subscriptions/:subscriptionId", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ], "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "Unique ID for the subscription" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API is used to update the details of subscriptions. You can update event version, event URL, headers, authentication details of a subscription using this API. You can also disable/enable the subscription by changing the status from ACTIVE to INACTIVE or vice versa ." }, { "info": { "name": "Walmart Delete Subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-gateway.walmart.com/v3/webhooks/subscriptions/:subscriptionId", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ], "params": [ { "name": "subscriptionId", "value": "", "type": "path", "description": "Unique ID for the subscription" } ] }, "docs": "This API is used to delete the subscription. Once deleted, the subscription cannot be retrieved." }, { "info": { "name": "Walmart Event Types", "type": "http" }, "http": { "method": "GET", "url": "https://api-gateway.walmart.com/v3/webhooks/eventTypes", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ] }, "docs": "This API provides the list of event types and resource names that you can subscribe to. Notifications will be triggered only for the event types that you subscribe to using Create Subscription API .\n\nEvent Types are workflow events that are triggered when status or conditions change. Some examples are an offer moving from published to unpublished status, an order getting auto-cancelled by Walmart, a buy box price/winner change, etc.\n\nResource Names are functional API categories that group simila" } ] } ], "bundled": true }