Refactorize createResizeItemRequest