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 from your Merchant Center account.
See: Content API for Shopping Reference for content.orders.get
.
- type OrdersGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order)))))
- ordersGet :: Word64 -> Text -> OrdersGet
- data OrdersGet
- ogMerchantId :: Lens' OrdersGet Word64
- ogOrderId :: Lens' OrdersGet Text
REST Resource
type OrdersGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order))))) Source #
A resource alias for content.orders.get
method which the
OrdersGet
request conforms to.
Creating a Request
Creates a value of OrdersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves an order from your Merchant Center account.
See: ordersGet
smart constructor.