Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment".
See: Content API for Shopping Reference for content.orders.advancetestorder
.
Synopsis
- type OrdersAdvancetestOrderResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testorders" :> (Capture "orderId" Text :> ("advance" :> (QueryParam "alt" AltJSON :> Post '[JSON] OrdersAdvanceTestOrderResponse))))))
- ordersAdvancetestOrder :: Word64 -> Text -> OrdersAdvancetestOrder
- data OrdersAdvancetestOrder
- oaoMerchantId :: Lens' OrdersAdvancetestOrder Word64
- oaoOrderId :: Lens' OrdersAdvancetestOrder Text
REST Resource
type OrdersAdvancetestOrderResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testorders" :> (Capture "orderId" Text :> ("advance" :> (QueryParam "alt" AltJSON :> Post '[JSON] OrdersAdvanceTestOrderResponse)))))) Source #
A resource alias for content.orders.advancetestorder
method which the
OrdersAdvancetestOrder
request conforms to.
Creating a Request
ordersAdvancetestOrder Source #
Creates a value of OrdersAdvancetestOrder
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersAdvancetestOrder Source #
Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment".
See: ordersAdvancetestOrder
smart constructor.
Instances
Request Lenses
oaoMerchantId :: Lens' OrdersAdvancetestOrder Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
oaoOrderId :: Lens' OrdersAdvancetestOrder Text Source #
The ID of the test order to modify.