v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
Presence

Get diffusion errors for a business

Get diffusion errors for a given business.

This endpoint returns diffusion errors grouped by publisher. Diffusion errors are classified into two types:

  • Pre-check errors: errors detected before sending data to partners, based on the current business data.
  • Post-check errors: errors detected after sending data to partners, based on partner responses.

Behavior

  • If no input parameters are provided:
    • Returns the existing pre-check and post-check errors stored in the database.
  • If input parameters are provided:
    • Applies the provided fields as an in-memory update on the business (without persisting).
    • Recalculates pre-check errors based on these changes.
    • Post-check errors are not recalculated in this case.

Example Use Case

Use this endpoint during a business edit form to validate which publishers would be affected by a change, without saving it yet.

post/diffusion_errors/{business_id}

Path parameters

business_idstring required

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

namestring

The name of the business (POI) as it will appear on the publishing platforms

org_idinteger

Unique identifier of an organization in Partoo.

countrystring

Business country - In the ISO 3166 alpha2 code format (i.e. use “FR” for France instead of "fr")

zipcodestring nullable

Zipcode (or postal code) for the business address. Can be empty if the business' country does not require one.

citystring nullable

The city where the business is located

regionstring nullable

The region where the business is located. Can be empty, it is only useful for some countries like Italy or Spain among others.

categoriesstring[]

A list of category ids mapped to the business. At least one category needs to be provided. For more information see Categories section

codestring

The unique store code of the business. If not provided, it will be automatically generated

status'open' | 'closed' | 'closed_temporarily'

Defines the current status of the business. open indicates the business is up and running. closed means that the business has definitely closed. closed_temporarily means that the business is temporarily closed, it is advised when your business is closed for more than one week, otherwise use the specific_hours

address_fullstring nullable

Full address of the business.

For example : 130 Rue du Mont-Cenis.

address2string nullable

Complement of address. Any additional information that could help better find the business location

manual_latnumber double

Latitude. Decimals are separated by a dot and not by a comma.

manual_longnumber double

Longitude. Decimals are separated by a dot and not by a comma.

latnumber double

Latitude. Decimals are separated by a dot and not by a comma.

longnumber double

Longitude. Decimals are separated by a dot and not by a comma.

website_urlstring uri

The business own website url or the main url of the company.

facebook_urlstring uri

Business Facebook page url

twitter_urlstring uri

Business twitter page url

description_shortstring

A short description of the business.

⚠️ It is limited to 80 characters

description_longstring

A more detailed description of the business.

⚠️ It is limited to 750 characters

national_identification_numberstring

The National Identification Number of the business.

It describes a unique number for which the business is registered in a specific country.
For example, in France, it's the SIRET code, or for Ireland, it's the CRO.

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

addressobject

Errors in the address section

infosobject

Errors in the infos section

advanced-settingsobject

Errors in the advanced settings section