gogol-shopping-content-0.0.1: Google Content API for Shopping SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Content.Orders.Cancel

Contents

Description

Cancels all line items in an order.

See: Content API for Shopping Reference for content.orders.cancel.

Synopsis

REST Resource

type OrdersCancelResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` OrdersCancelRequest :> Post `[JSON]` OrdersCancelResponse))))))) Source

A resource alias for content.orders.cancel method which the OrdersCancel request conforms to.

Creating a Request

ordersCancel Source

Creates a value of OrdersCancel with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

occMerchantId :: Lens' OrdersCancel Word64 Source

The ID of the managing account.

occOrderId :: Lens' OrdersCancel Text Source

The ID of the order to cancel.