Update a promotion
Updates a promotion. The rules and actions arrays are treated as
a desired set — rows with id update in place, rows without id are
built fresh, and any existing row not present in the array is destroyed.
Pass rules: [] or actions: [] to clear them.
Required scope: write_promotions (for API-key authentication).
PATCH
Spree Admin SDK
Authorizations
Body
application/json
Response
200 - application/json
rules and actions cleared with empty arrays
Spree Admin SDK

