Completed
Push — master ( de5dae...9e4449 )
by Gilmar
22:07
created
src/Entity/Product/Sku/Manager.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -17,14 +17,14 @@
 block discarded – undo
17 17
     protected $entity = 'SkuCollection';
18 18
 
19 19
     protected $maps = [
20
-        'save'              => ['POST', '/products/{productId}/skus'], //Create a new sku for a product
21
-        'findSkuById'       => ['GET', '/products/{productId}/skus/{itemId}'], // Get the a sku by product Id and sku Id
22
-        'update'            => ['PUT', '/products/{productId}/skus/{sku}/{itemId}'], //Update a product based on SKU
23
-        'findById'          => ['GET', '/products/{itemId}/skus'], //Get the list of product skus
24
-        'saveStatus'        => ['PUT', '/skus/{sku}/bus/{buId}/status'], //Enable or disable sku for sale
25
-        'savePriceSchedule' => ['POST', '/skus/{sku}/priceSchedules'], //Save a price schedule
26
-        'savePrice'         => ['PUT', '/skus/{sku}/prices'], //Save a base price
27
-        'saveStock'         => ['PUT', '/skus/{sku}/stocks'], //Update stock quantity by sku
20
+        'save'              => [ 'POST', '/products/{productId}/skus' ], //Create a new sku for a product
21
+        'findSkuById'       => [ 'GET', '/products/{productId}/skus/{itemId}' ], // Get the a sku by product Id and sku Id
22
+        'update'            => [ 'PUT', '/products/{productId}/skus/{sku}/{itemId}' ], //Update a product based on SKU
23
+        'findById'          => [ 'GET', '/products/{itemId}/skus' ], //Get the list of product skus
24
+        'saveStatus'        => [ 'PUT', '/skus/{sku}/bus/{buId}/status' ], //Enable or disable sku for sale
25
+        'savePriceSchedule' => [ 'POST', '/skus/{sku}/priceSchedules' ], //Save a price schedule
26
+        'savePrice'         => [ 'PUT', '/skus/{sku}/prices' ], //Save a base price
27
+        'saveStock'         => [ 'PUT', '/skus/{sku}/stocks' ], //Update stock quantity by sku
28 28
     ];
29 29
 
30 30
     public function save(EntityInterface $product, $route = 'save')
Please login to merge, or discard this patch.