Website Builder Price List

/website-builder-price-list

GET

Returns the available price lists

Request parameters

N/A

JSON response

Possible errors

N/A

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/website-builder-price-list" | python -m json.tool

POST

Create a price list

JSON request

name string Name of the price list.

JSON response

Sample

curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
    {
        "name": "Test Price List"
    }
' \
"{{api_base_url}}/website-builder-price-list" | python -m json.tool

/website-builder-price-list/{id}

GET

Get detailed information about a price list.

Request parameters

N/A

JSON response

Possible errors

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/website-builder-price-list/{id}" | python -m json.tool

PUT

Update a price list

JSON request

name string Name of the price list.

JSON response

Possible errors

Sample

curl \
--request PUT \
--user "{{api_username}}:{{api_key}}" \
--data '
    {
        "name": "Updated name"
    }
' \
"{{api_base_url}}/website-builder-price-list/{id}" | python -m json.tool