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 |
Retrieves an order using merchant order id.
See: Content API for Shopping Reference for content.orders.getbymerchantorderid
.
Synopsis
- type OrdersGetbymerchantOrderidResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("ordersbymerchantid" :> (Capture "merchantOrderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrdersGetByMerchantOrderIdResponse)))))
- ordersGetbymerchantOrderid :: Word64 -> Text -> OrdersGetbymerchantOrderid
- data OrdersGetbymerchantOrderid
- ogogMerchantId :: Lens' OrdersGetbymerchantOrderid Word64
- ogogMerchantOrderId :: Lens' OrdersGetbymerchantOrderid Text
REST Resource
type OrdersGetbymerchantOrderidResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("ordersbymerchantid" :> (Capture "merchantOrderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrdersGetByMerchantOrderIdResponse))))) Source #
A resource alias for content.orders.getbymerchantorderid
method which the
OrdersGetbymerchantOrderid
request conforms to.
Creating a Request
ordersGetbymerchantOrderid Source #
Creates a value of OrdersGetbymerchantOrderid
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersGetbymerchantOrderid Source #
Retrieves an order using merchant order id.
See: ordersGetbymerchantOrderid
smart constructor.
Instances
Request Lenses
ogogMerchantId :: Lens' OrdersGetbymerchantOrderid Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
ogogMerchantOrderId :: Lens' OrdersGetbymerchantOrderid Text Source #
The merchant order id to be looked for.