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 |
Deletes a store for the given merchant.
See: Content API for Shopping Reference for content.pos.delete
.
Synopsis
- type PosDeleteResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (Capture "storeCode" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- posDelete :: Word64 -> Text -> Word64 -> PosDelete
- data PosDelete
- pdMerchantId :: Lens' PosDelete Word64
- pdStoreCode :: Lens' PosDelete Text
- pdTargetMerchantId :: Lens' PosDelete Word64
REST Resource
type PosDeleteResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (Capture "storeCode" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for content.pos.delete
method which the
PosDelete
request conforms to.
Creating a Request
Creates a value of PosDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Deletes a store for the given merchant.
See: posDelete
smart constructor.