Skip to main content

Reorder Product Types within Shop

PUT 

/shop/:guid/products/reorder

Change the order of Product Types 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 Product Type to the last position: first reorder it before the last one, then reorder the last one before it.

Request

Path Parameters

    guid uuidrequired

    The guid of the Shop.

Body

Input data

    predecessor uuid

    The guid of the Product Type that will be moved within the Shop.

    successor uuid

    The guid of the Product Type that determines where to move the predecessor.

Responses

Reordering of Product Types within Shop successful.

Loading...