Admin Marketing: Promotions
Copy a cart rule
Duplicates the cart rule with status forced inactive and the name prefixed "Copy of ...", copies its channel and customer-group assignments, and returns the new rule's full detail (prefilled for editing). Coupons are not copied. Mirrors the admin datagrid Copy action.
post/marketing/cart-rules/{id}/copy
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Example:17
Source cart rule ID.
Request body
object required
Response
Cart rule copied; returns the new rule detail.
Changes
No recorded changes to this operation across all 8 revisions of this API.