Static Pages

Return all Static Pages.

Parameters
  • sortquery string

    Sort ascending or descending order.

  • pagequery integer

    Page offset to fetch.

  • per_pagequery integer

    Number of results to return per page.

GET/api/v1/static_pages

{
  const res = await fetch(`${BASE_URL}/api/v1/static_pages`, {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)});

  const data = await res.json();
}

RESPONSE


Static Pages by id

Return a Static Page.

Parameters
  • idpath integerRequired

    Return a Static Page by specific id.

  • languagequery string

    Return results of Business by language ISO 639‑1 code.

GET/api/v1/static_pages/{id}

{
  const res = await fetch(`${BASE_URL}/api/v1/static_pages/${id}`, {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)});

  const data = await res.json();
}

RESPONSE