Reorder PaymentMethods within Shop
PUT/shop/:guid/payment_methods/reorder
Change the order of PaymentMethods within the Shop by specifying a new predecessor successor pair.
The predecessor will be removed from its current place in the Shop and reinserted directly before (visually: above) the successor.
The successor will retain its current place in the Shop.
Note it takes two operations to reorder a PaymentMethod to the last position:
first reorder it before the last one, then reorder the last one before it.
Request​
Responses​
- 204
- 403
- 404
- 406
- 500
Reordering of PaymentMethods within Shop successful.
Unauthorized. You do not have permission to manage the Shop.
Shop or PaymentMethods not found.
Request is invalid, see error context for validation errors.
Internal server error. Reordering failed or successor does not exist.