Product

Delete

Delete method to delete a Product

Parameters

Name Description
account_id required Your account unique identifier to access API.
UUID required Unique identifier of the product

Request

Route
DELETE 
/v2/account/:account_id/products/:UUID
Headers
Accept: application/json 
Authorization: Token token={account.secret}
Content-Type: application/json

Response

Status
200
Body
{
  "product": {
    "UUID": "321093",
    "created_at": "2016-06-22T14:24:07Z",
    "updated_at": "2016-06-22T14:24:07Z",
    "name": "Hotel Paris",
    "price": 748.45,
    "currency": "EUR",
    "description": "PUSHOTEL Paris hotel with more than 400 rooms in city center.",
    "store": "web",
    "type": "hotel",
    "url": "https://www.pushotels.com/",
    "image_url": "https://www.pushotels.com/assets/img/gallery/g3@2x.jpg"
  }
}