PublisherErrors (DEPRECATED)
⚠️ DEPRECATED - Please use POST /v2/diffusion_errors/{business_id} instead.
This method retrieve a list of known errors associated with a publisher for a business, including detailed descriptions.
The request body is mandatory.
Providing an empty request body will return errors based on the business information stored in the database.
Providing a populated request body will return errors related to the specified fields and their values only.
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Business id.
It may be replaced by c-{code} where code is the store code, which should be unique per organization. This can be used only for ORG_ADMIN, GROUP_MANAGER and BUSINESS_MANAGER users.
Request body
Example request
{
"name": "Corner shop",
"org_id": 42,
"country": "FR",
"zipcode": "75019",
"city": "Paris",
"region": "Ile-de-France",
"categories": [
"gcid:restaurant",
"gcid:fast_food_restaurant",
"gcid:hamburger_restaurant"
],
"code": "CS-75019",
"status": "open",
"address_full": "12 bis rue du coquelicot",
"manual_lat": -3.585993,
"manual_long": 47.870341,
"lat": -3.585993,
"long": 47.870341,
"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",
"description_short": "lorem ipsum",
"description_long": "lorem ipsum dolor sit amet",
"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"
}
]
},
"contacts": [
{
"name": "Hubert Bonisseur de la Bath",
"email": "hubert@oss117.fr",
"phone_numbers": [
"+33302060628"
],
"fax": "+33302060629"
}
]
}Response
OK
This response structure identifies and details errors detected by publishers in specific sections and fields of business information edits. It is organized to clearly indicate which publisher reported an error for a particular piece of business information, along with a specific error code or message identifier.
Changes
No recorded changes to this operation across all 2 revisions of this API.