From c311cde0ce61642c0487039e35fcc828a94254e7 Mon Sep 17 00:00:00 2001 From: Andrew Jarvis Date: Thu, 21 Jun 2018 16:26:53 -0400 Subject: [PATCH 1/2] Updated price.md formatting --- docs/price.md | 71 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 50 insertions(+), 21 deletions(-) diff --git a/docs/price.md b/docs/price.md index f2abad0..849e780 100644 --- a/docs/price.md +++ b/docs/price.md @@ -37,32 +37,61 @@ $price = $client->bulk([ 'version' => '1.5', ], 'Price' => [ - 'itemIdentifier' => [ - 'sku' => '1131270' - ], - 'pricingList' => [ - 'pricing' => [ - 'currentPrice' => [ - 'value' => [ - 'currency' => 'USD', - 'amount' => '4.00', + [ + 'itemIdentifier' => [ + 'sku' => '1131270' + ], + 'pricingList' => [ + 'pricing' => [ + 'currentPrice' => [ + 'value' => [ + 'currency' => 'USD', + 'amount' => '4.00', + ], ], - ], - 'currentPriceType' => 'BASE', - 'comparisonPrice' => [ - 'value' => [ - 'currency' => 'USD', - 'amount' => '5.99', + 'currentPriceType' => 'BASE', + 'comparisonPrice' => [ + 'value' => [ + 'currency' => 'USD', + 'amount' => '5.99', + ], ], + 'priceDisplayCode' => [ + 'submapType' => 'CHECKOUT', + ], + 'effectiveDate' => '2016-07-02T12:38:43-04:00', + 'expirationDate' => '2016-08-02T12:38:43-04:00', ], - 'priceDisplayCode' => [ - 'submapType' => 'CHECKOUT', + ], + ], + [ + 'itemIdentifier' => [ + 'sku' => '1131270' + ], + 'pricingList' => [ + 'pricing' => [ + 'currentPrice' => [ + 'value' => [ + 'currency' => 'USD', + 'amount' => '4.00', + ], + ], + 'currentPriceType' => 'BASE', + 'comparisonPrice' => [ + 'value' => [ + 'currency' => 'USD', + 'amount' => '5.99', + ], + ], + 'priceDisplayCode' => [ + 'submapType' => 'CHECKOUT', + ], + 'effectiveDate' => '2016-07-02T12:38:43-04:00', + 'expirationDate' => '2016-08-02T12:38:43-04:00', ], - 'effectiveDate' => '2016-07-02T12:38:43-04:00', - 'expirationDate' => '2016-08-02T12:38:43-04:00', - ] + ], ], ], ], ]); -``` \ No newline at end of file +``` From ab74cfd357f6a555b902b90073c1aa6029c6d206 Mon Sep 17 00:00:00 2001 From: Andrew Jarvis Date: Thu, 21 Jun 2018 16:28:21 -0400 Subject: [PATCH 2/2] Changed values in second price --- docs/price.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/price.md b/docs/price.md index 849e780..fd1ac07 100644 --- a/docs/price.md +++ b/docs/price.md @@ -66,21 +66,21 @@ $price = $client->bulk([ ], [ 'itemIdentifier' => [ - 'sku' => '1131270' + 'sku' => '1131271' ], 'pricingList' => [ 'pricing' => [ 'currentPrice' => [ 'value' => [ 'currency' => 'USD', - 'amount' => '4.00', + 'amount' => '3.00', ], ], 'currentPriceType' => 'BASE', 'comparisonPrice' => [ 'value' => [ 'currency' => 'USD', - 'amount' => '5.99', + 'amount' => '4.99', ], ], 'priceDisplayCode' => [