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. Creates a test order.
See: Content API for Shopping Reference for content.orders.createtestorder
.
Synopsis
- type OrdersCreatetestOrderResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testorders" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersCreateTestOrderRequest :> Post '[JSON] OrdersCreateTestOrderResponse)))))
- ordersCreatetestOrder :: Word64 -> OrdersCreateTestOrderRequest -> OrdersCreatetestOrder
- data OrdersCreatetestOrder
- ococMerchantId :: Lens' OrdersCreatetestOrder Word64
- ococPayload :: Lens' OrdersCreatetestOrder OrdersCreateTestOrderRequest
REST Resource
type OrdersCreatetestOrderResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testorders" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersCreateTestOrderRequest :> Post '[JSON] OrdersCreateTestOrderResponse))))) Source #
A resource alias for content.orders.createtestorder
method which the
OrdersCreatetestOrder
request conforms to.
Creating a Request
ordersCreatetestOrder Source #
Creates a value of OrdersCreatetestOrder
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersCreatetestOrder Source #
Sandbox only. Creates a test order.
See: ordersCreatetestOrder
smart constructor.
Instances
Request Lenses
ococMerchantId :: Lens' OrdersCreatetestOrder Word64 Source #
The ID of the account that should manage the order. This cannot be a multi-client account.
ococPayload :: Lens' OrdersCreatetestOrder OrdersCreateTestOrderRequest Source #
Multipart request metadata.