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 base modules
  • Get specific base module
  • Create a new module
  • Update an existing module
  • Delete an existing module
  1. API
  2. Endpoints

Modules

All endpoints that are created for managing modules

Get all base modules

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

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

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"
}

Create a new module

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

This endpoint creates a new base module

Request Body

Name
Type
Description

identifier*

String

name*

String

settings

Object

users

Array

isBase*

Boolean

enabled*

Boolean

description*

String

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

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

Update an existing module

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

This endpoint updates modules

Request Body

Name
Type
Description

identifier*

String

name

String

description

String

enabled

Boolean

isBase

Boolean

users

Array

{
    "bolUserId": 1
}

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

Delete an existing module

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

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."
}
PreviousWoocommerceNextUser Modules

Last updated 2 years ago

⚙️