Template Management
Overview
The Templates API allows you to generate template files for various operations in SellerCenter, including product management, order management, manifest operations, and invoice management. Template files are CSV or XLSX files that provide a structured format for bulk operations, making it easier to create, update, or manage large datasets.
Template operations support:
- Product Templates: Generate templates for product creation, removal, category tree, pricing, stock, status, and image updates
- Order Templates: Generate templates for pending orders, order status changes, and order item status updates
- Manifest Templates: Generate templates for creating forward manifests and updating manifest status
- Invoice Templates: Generate templates for missing invoice access keys
Template generation can be either synchronous (returns file content directly) or asynchronous (returns export job information for background processing). Asynchronous templates are recommended for large datasets as they prevent timeout issues and allow you to track the generation progress.
Important:
- Some templates return file content directly, while others return export job information (
exportItemIdanduuid) - For asynchronous templates, use the returned
exportItemIdoruuidto track and download completed templates via the Export API - Template files are typically available in CSV or XLSX format depending on the endpoint
- Always check the response type (direct file content vs. export job) before processing
Template Categories
Product Templates
Product templates help you manage your product catalog with bulk operations. Generate templates for:
- Product creation with attribute sets
- Product removal
- Category tree structure
- Price updates
- Stock/inventory updates
- Status updates
- Image updates
Order Templates
Order templates help you manage orders and order items with bulk operations. Generate templates for:
- Pending order items
- Pending order numbers
- Order item status updates
- Order status changes
Manifest Templates
Manifest templates help you manage shipping manifests with bulk operations. Generate templates for:
- Creating forward manifests
- Updating manifest statuses
Invoice Templates
Invoice templates help you manage invoice access keys with bulk operations. Generate templates for:
- Missing invoice access keys