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 |
Marks an order as acknowledged.
See: Content API for Shopping Reference for content.orders.acknowledge
.
Synopsis
- type OrdersAcknowledgeResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("acknowledge" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersAcknowledgeRequest :> Post '[JSON] OrdersAcknowledgeResponse)))))))
- ordersAcknowledge :: Word64 -> OrdersAcknowledgeRequest -> Text -> OrdersAcknowledge
- data OrdersAcknowledge
- oaMerchantId :: Lens' OrdersAcknowledge Word64
- oaPayload :: Lens' OrdersAcknowledge OrdersAcknowledgeRequest
- oaOrderId :: Lens' OrdersAcknowledge Text
REST Resource
type OrdersAcknowledgeResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("acknowledge" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersAcknowledgeRequest :> Post '[JSON] OrdersAcknowledgeResponse))))))) Source #
A resource alias for content.orders.acknowledge
method which the
OrdersAcknowledge
request conforms to.
Creating a Request
Creates a value of OrdersAcknowledge
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersAcknowledge Source #
Marks an order as acknowledged.
See: ordersAcknowledge
smart constructor.
Instances
Request Lenses
oaMerchantId :: Lens' OrdersAcknowledge Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
oaPayload :: Lens' OrdersAcknowledge OrdersAcknowledgeRequest Source #
Multipart request metadata.