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

Copyright(c) 2015-2016 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.Updateshipment

Contents

Description

Updates a shipment's status, carrier, and/or tracking ID.

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

Synopsis

REST Resource

type OrdersUpdateshipmentResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("updateShipment" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersUpdateShipmentRequest :> Post '[JSON] OrdersUpdateShipmentResponse))))))) Source #

A resource alias for content.orders.updateshipment method which the OrdersUpdateshipment request conforms to.

Creating a Request

ordersUpdateshipment Source #

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

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

data OrdersUpdateshipment Source #

Updates a shipment's status, carrier, and/or tracking ID.

See: ordersUpdateshipment smart constructor.

Instances
Eq OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

Data OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrdersUpdateshipment -> c OrdersUpdateshipment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrdersUpdateshipment #

toConstr :: OrdersUpdateshipment -> Constr #

dataTypeOf :: OrdersUpdateshipment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrdersUpdateshipment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrdersUpdateshipment) #

gmapT :: (forall b. Data b => b -> b) -> OrdersUpdateshipment -> OrdersUpdateshipment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrdersUpdateshipment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrdersUpdateshipment -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrdersUpdateshipment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrdersUpdateshipment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrdersUpdateshipment -> m OrdersUpdateshipment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrdersUpdateshipment -> m OrdersUpdateshipment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrdersUpdateshipment -> m OrdersUpdateshipment #

Show OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

Generic OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

Associated Types

type Rep OrdersUpdateshipment :: Type -> Type #

GoogleRequest OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

Associated Types

type Rs OrdersUpdateshipment :: Type #

type Scopes OrdersUpdateshipment :: [Symbol] #

type Rep OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

type Rep OrdersUpdateshipment = D1 (MetaData "OrdersUpdateshipment" "Network.Google.Resource.Content.Orders.Updateshipment" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersUpdateshipment'" PrefixI True) (S1 (MetaSel (Just "_ouMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ouPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersUpdateShipmentRequest) :*: S1 (MetaSel (Just "_ouOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

type Scopes OrdersUpdateshipment = "https://www.googleapis.com/auth/content" ': ([] :: [Symbol])
type Rs OrdersUpdateshipment Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Updateshipment

Request Lenses

ouMerchantId :: Lens' OrdersUpdateshipment Word64 Source #

The ID of the account that manages the order. This cannot be a multi-client account.