Minty Bol Connector
  • Introduction
  • ⚙️API
    • Introduction
    • Authentication
    • Endpoints
      • User accounts
      • Bol accounts
      • Woocommerce
      • Modules
      • User Modules
      • Delivery Options
      • Cancel Order
      • Send Order
Powered by GitBook
On this page
  • Get all user modules
  • Get specific base module
  • Add a new module to an user
  • Update an existing user module
  • Delete an existing user module
  1. API
  2. Endpoints

User Modules

All endpoints that are created for managing modules

Get all user modules

GET https://dev.bol.mintycloud.nl/api/v1/modules/user/:id

This endpoint gets all base modules

[
    {
        "identifier": "bol.mintyconnect.order.wachtagent",
        "name": "Order Wachtagent plugin",
        "description": "Deze plugin biedt de mogelijkheid om bestellingen van Bol naar WooCommerce te verzenden.",
        "enabled": 1,
        "isBase": 1,
        "users": " []",
        "possibleSettings": "{\"phone\": \"\", \"email\": \"\", status: \"default\" }"
    },
    {
        "identifier": "bol.mintyconnect.product.wachtagent",
        "name": "Product wachtagent plugin",
        "description": "Deze plugin biedt de mogelijkheid om product data bij te houden tussen bol en woocommerce.",
        "enabled": 1,
        "isBase": 1,
        "users": "",
        "possibleSettings": "{\"stockSync\":true,\"priceSync\":false}"
    }
]

{
    "error": "Failed to add account"
}

Get specific base module

GET https://dev.bol.mintycloud.nl/api/v1/modules/user/:id

This endpoint gets specific base module

Path Parameters

Name
Type
Description

identifier*

String

module identifier

{
    "identifier": "bol.mintyconnect.order.wachtagent",
    "name": "Order Wachtagent plugin",
    "description": "Deze plugin biedt de mogelijkheid om bestellingen van Bol naar WooCommerce te verzenden.",
    "enabled": 1,
    "isBase": 1,
    "users": " []",
    "possibleSettings": "{\"phone\": \"\", \"email\": \"\", status: \"default\" }"
}

{
    "error": "Failed to add account"
}

Add a new module to an user

POST https://dev.bol.mintycloud.nl/api/v1/modules

This endpoint creates a new user module

Request Body

Name
Type
Description

bolUserId*

String

identifier*

String

settings*

Object

{
    "identifier": "bol.mintyconnect.product.wachtagent"
}

{
    "error": "Failed to add account"
}

Update an existing user module

PUT https://dev.bol.mintycloud.nl/api/v1/modules/user

This endpoint updates modules

Request Body

Name
Type
Description

identifier*

String

settings

Object

bolUserId*

Number

{
    "updated": {}
}

{
    "error": "Something went wrong. Is the identifier already imported?"
}

Delete an existing user module

DELETE https://dev.bol.mintycloud.nl/api/v1/modules/user

This endpoint deletes modules

Query Parameters

Name
Type
Description

identifier*

String

{
    "message": "Module removed."
}

{
    "error": "Something went wrong. Is the identifier already imported?"
}
{
    "error": "Invalid identifier."
}
PreviousModulesNextDelivery Options

Last updated 2 years ago

⚙️