Delete shipping templates
Overview
The Delete shipping templates API lets you permanently remove an existing shipping template from Walmart Marketplace settings.
Endpoint
DELETE <https://marketplace.walmartapis.com/v3/settings/shipping/templates/{templateId}Function
Use this API when:
- A custom template is no longer needed
- Creating consolidated shipping strategies
- A template was created in error
- Cleaning up inactive or deprecated configurations
Deleting a template removes it from your account configuration. Ensure the template is not actively assigned to items before you delete the template.
Sample request
url --request DELETE \ --url https://marketplace.walmartapis.com/v3/settings/shipping/templates/templateId \ --header 'accept: application/json'import requests template_id = "templateId" # replace with the template ID you want to delete
access_token = "<ACCESS_TOKEN>" # replace with a valid OAuth token (if required) url = f"https://marketplace.walmartapis.com/v3/settings/shipping/templates/{template_id}" headers = { "Accept": "application/json", "Authorization": f"Bearer {access_token}",
} resp = requests.delete(url, headers=headers, timeout=30) print("Status:", resp.status_code)
print(resp.text)
resp.raise_for_status()Modify your code
1. Replace the templateId
templateIdSubstitute the templateId in the URL with the template ID that you want to delete.
Example
https://marketplace.walmartapis.com/v3/settings/shipping/templates/912336322437201932. Add an authentication header
Most Marketplace APIs require authentication. Add your valid access token:
\--header 'Authorization: Bearer \<ACCESS\_TOKEN>'If your integration requires additional headers (such as consumer ID or correlation ID), include them accordingly.
3. Validate before deleting
Before calling DELETE
- Confirm the template is not assigned to any active SKUs.
- (Optional) Retrieve the template using GET to verify the ID is correct.
Sample response
{ "id": "91233632243720193"
}{ "id": "91233632243720193"
}Result
- A successful
200 OKresponse returns the ID of the deleted template. - The template is removed from the seller’s shipping template list.
- The ID can no longer be assigned to items.
- If the template was assigned to items, those items may revert to default or require reassignment, depending on the Marketplace behavior.
Next steps
The Get shipping template details API gives you specific shipping configurations for a single shipping template.
The Update shipping templates API lets you modify configurations on an existing shipping template, such as shipping methods, regions, transit times, and pricing rules.
The Get all fulfillment centers API retrieves fulfillment centers (also known as ship nodes) information on your account.
The Update fulfillment center API helps you update your existing fulfillment centers (also known as a ship nodes) configuration in Marketplace Settings.
The Create fulfillment center API sets up new fulfillment centers (also known as ship nodes) in Walmart Marketplace Settings.
The Get account level settings API retrieves account-level shipping settings such as calendar day configurations, weekends, and additional days off.
The Update account level settings API allows you to configure account-level calendar settings that impact shipping calculations and delivery promise logic.
The Create account level settings API lets you establish account level calendar configuration for your shipping operations.
The Get all shipping templates API retrieves a list of all shipping templates configured on your account.
The Create shipping templates API allows sellers to create custom shipping templates that define shipping methods, transit times, pricing logic, and geographic coverage.
The Third-party fulfillment center association API allows sellers to activate or update the status of 3PL (third-party logistics) ship nodes associated with your Marketplace account.
- Third-party fulfillment center association Guide
- Third-party fulfillment center association API Reference Guide
The Get shipping configurations API retrieves account-level shipping profile settings associated on your account.
The Get shipping template activation status API allows sellers to retrieve the current activation state of shipping templates at the account level.
The Get coverage for fulfillment centers API retrieves the geographic coverage areas associated with each fulfillment center (ship node) configured under a seller account.
The Get carrier methods API retrieves the list of carrier methods available for use in Marketplace shipping configurations
The Get all third-party fulfillment providers API retrieves all third-party fulfillment providers (3PLs) available on the Walmart marketplace.
- Get all third-party fulfillment providers Guide
- Get all third-party fulfillment providers API Reference Guide
The Get partner configurations API retrieves seller-level profile information and system configuration settings associated with a Marketplace partner account.
Updated about 14 hours ago
