Skip to main content
WEBHOOK
businessUpdated
{
  "type": "business_updated",
  "payload": {
    "business": {
      "id": "5409c35a97bbc544d8e26737",
      "created": 1409925979.5,
      "modified": 1561335111.681374,
      "code": "CS-75019",
      "status": "open",
      "org_id": 42,
      "group_id": 23,
      "name": "Corner shop",
      "address": "<string>",
      "address_full": "12 bis rue du coquelicot",
      "address2": "<string>",
      "city": "Paris",
      "zipcode": "75019",
      "region": "Ile-de-France",
      "country": "FR",
      "default_lang": "fr",
      "open_hours": {
        "monday": [
          "10:00-14:00"
        ],
        "tuesday": [
          "10:00-14:00"
        ],
        "wednesday": [
          "10:00-14:00"
        ],
        "thursday": [
          "10:00-14:00"
        ],
        "friday": [
          "10:00-14:00"
        ],
        "saturday": [
          "10:00-14:00"
        ],
        "sunday": [
          "10:00-14:00"
        ]
      },
      "specific_hours": {
        "open": [
          {
            "starts_at": "2020-01-20",
            "ends_at": "2020-01-20",
            "open_hours": [
              "10:00-14:00"
            ]
          }
        ],
        "close": [
          {
            "starts_at": "2020-01-20",
            "ends_at": "2020-01-22"
          }
        ]
      },
      "description_short": "lorem ipsum",
      "description_long": "lorem ipsum dolor sit amet",
      "website_url": "https://www.corner-shop.co/",
      "facebook_url": "https://www.facebook.com/the-corner-shop",
      "twitter_url": "https://www.twitter.com/the-corner-shop",
      "google_location_id": "<string>",
      "facebook_page_id": "<string>",
      "national_identification_number": "<string>",
      "logo_url": "<string>",
      "contacts": [
        {
          "name": "Hubert Bonisseur de la Bath",
          "email": "hubert@oss117.fr",
          "phone_numbers": [
            "+33302060628"
          ],
          "fax": "+33302060629"
        }
      ],
      "photos": {
        "LOGO": "<string>",
        "primary": "<string>",
        "secondary": [
          "<string>"
        ]
      },
      "lat": -3.585993,
      "long": 47.870341,
      "subscriptions": {
        "presence_management": {
          "active": true
        },
        "review_management": {
          "active": true
        },
        "review_booster": {
          "active": false
        },
        "messages": {
          "active": false
        }
      },
      "features": [
        "business_edition",
        "diffusion",
        "review_management",
        "review_invite",
        "messages"
      ],
      "videos": [
        "<string>"
      ],
      "siret": "<string>",
      "completion_rate": 77,
      "news": [
        {
          "description": "<string>"
        }
      ],
      "promos": [
        {
          "title": "<string>",
          "description": "<string>",
          "term_of_use": "<string>",
          "additional_informations": "<string>",
          "begin": 123,
          "end": 123,
          "images": [
            "<string>"
          ],
          "client_offer_url": "<string>",
          "promo_url": "<string>"
        }
      ]
    }
  }
}

Body

application/json
type
enum<string>
Available options:
business_updated
payload
object

Response

Return a 200 status to indicate that the event was properly received