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.Refund

Contents

Description

Refund a portion of the order, up to the full amount paid.

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

Synopsis

REST Resource

type OrdersRefundResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("refund" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` OrdersRefundRequest :> Post `[JSON]` OrdersRefundResponse))))))) Source

A resource alias for content.orders.refund method which the OrdersRefund request conforms to.

Creating a Request

ordersRefund Source

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

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

Request Lenses

orMerchantId :: Lens' OrdersRefund Word64 Source

The ID of the managing account.

orPayload :: Lens' OrdersRefund OrdersRefundRequest Source

Multipart request metadata.

orOrderId :: Lens' OrdersRefund Text Source

The ID of the order to refund.