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 |
Creates a store for the given merchant.
See: Content API for Shopping Reference for content.pos.insert
.
Synopsis
- type PosInsertResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PosStore :> Post '[JSON] PosStore)))))))
- posInsert :: Word64 -> Word64 -> PosStore -> PosInsert
- data PosInsert
- ppMerchantId :: Lens' PosInsert Word64
- ppTargetMerchantId :: Lens' PosInsert Word64
- ppPayload :: Lens' PosInsert PosStore
REST Resource
type PosInsertResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PosStore :> Post '[JSON] PosStore))))))) Source #
A resource alias for content.pos.insert
method which the
PosInsert
request conforms to.
Creating a Request
Creates a value of PosInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Creates a store for the given merchant.
See: posInsert
smart constructor.