Example be.open API
  1. Products & Combinations
Example be.open API
  • be.open API
  • Auth
    • Get api auth token
      POST
  • Attributes & Options
    • get all available attributes
      GET
    • add or update an attribute
      POST
    • get an attribute
      GET
    • adds or updates an option
      POST
    • get attribute categories
      GET
    • get options of a type
      POST
  • Basket
    • get Basket
      POST
  • Price
    • get Price list
      POST
  • Categories
    • get product categories
      GET
    • Returns the products of a category.
      GET
  • Products & Combinations
    • get product configuration
      POST
    • get option configuration
      POST
    • get product attributes
      GET
    • get product independant attributes
      GET
    • Returns the products.
      GET
    • adds or updates a product with attributes, options and combinations.
      POST
    • Returns the single product.
      GET
    • adds or updates attributes, options and combinations of a product. Used to import combinations in parts
      POST
    • delete combinations.
      DELETE
    • get country attribute with options
      GET
  • Serviceprovider
    • change attribute settings just for this service provider
      PATCH
    • change option settings just for this service provider
      PATCH
    • change attribute category setting just for this service provider
      PATCH
    • /api/serviceproviders/{serviceproviderId}/orders
      GET
    • /api/serviceproviders/{serviceproviderId}/orders/{orderId}
      GET
    • /api/serviceproviders/{serviceproviderId}/orders/{orderId}
      PATCH
  • Order
    • create an order
    • create order with upload
    • get order
  • Dashboard API (MOVE TO ANOTHER PROJECT)!
    • Customer
      • whoAmI
      • addExternalClient
    • Orders
      • create order
      • update order
      • update order cart
  1. Products & Combinations

get country attribute with options

GET
/api/products/{productId}/country/options

Request

Path Params

Header Params

Responses

🟢200Returns the attribute.
application/json
Body

Example
{
    "jsonapi": {
        "version": "string"
    },
    "data": {
        "type": "string",
        "id": "string",
        "attributes": {
            "name": "string",
            "sort": 0,
            "description": null,
            "category": "string",
            "original-name": null,
            "field_type": "string",
            "attribute_style": "string",
            "attribute_type": "string",
            "attribute_category": {
                "type": "string",
                "id": "string",
                "attributes": {
                    "key": "string",
                    "name": "string",
                    "created_at": "string",
                    "updated_at": "string"
                }
            },
            "original_name": null,
            "sort_type": 0
        },
        "relationships": {
            "options": {
                "data": [
                    {
                        "type": "string",
                        "id": "string"
                    }
                ]
            }
        }
    },
    "included": [
        {
            "type": "string",
            "id": "string",
            "attributes": {
                "name": "string",
                "description": null,
                "sort": true,
                "icon_name": "string",
                "original-name": null
            }
        }
    ]
}
🟠401Unauthorized request
🟠404Attribute not found
Modified at 2025-01-15 10:17:15
Previous
delete combinations.
Next
change attribute settings just for this service provider
Built with