Map Single Product
POST//:domain/api/walmart/:integrationInstance/products/:product/map
Map a single Walmart listing to a SKU product (or subscription offering). Creates a ProductListing record, or updates the existing one if already mapped (remap). After mapping, dispatches a job to map any previously unmapped sales order lines for the new listing.
Authentication: Requires Bearer token.
Fields (exactly one of):
- product_id (integer, required_without:subscription_offering_id): SKU product ID to map to. Must exist in products table.
- subscription_offering_id (integer, required_without:product_id): Subscription offering ID to map to. Must exist in subscription_offerings table.
Request
Responses
- 201
- 422
Created
Response Headers
Content-Type
Unprocessable Entity
Response Headers
Content-Type