Webhook product trigger - OgnianApostolov/builderly-api-docs GitHub Wiki

Model

ProductWebhook product_webhook: {
    "id": {
        "type": "string",
        "required": "true"
    },
    "name": {
        "type": "string",
        "required": "true"
    },
    "url": {
        "type": "string",
        "required": "true"
    },
    "price": {
        "type": "number",
        "required": "true"
    },
    "description": {
        "type": "string",
        "required": "true"
    },
    "product_informations": [{
        "_id": {
            "type": "string",
            "required": "true"
        },
        "name": {
            "type": "string",
            "required": "true"
        },
        "description": {
            "type": "string",
            "required": "true"
        }
      }],
    "published": {
        "type": "boolena",
        "required": "true"
    },
    "is_digital": {
        "type": "boolean",
        "required": "true"
    },
    "digital_contents": {
        "type": "string",
        "required": "true"
    },
    "weight": {
        "type": "nubmer",
        "required": "true"
    },
    "collection": {
        "type": "string",
        "required": "true"
    },
    "vendor": {
        "type": "string",
        "required": "true"
    },
    "variation": [{
        "title": {
            "type": "string",
            "required": "true"
        },
        "price": {
            "type": "number",
            "required": "true"
        }
      }]
  }

Method

Retrieve multiple

GET https://{{your-builderly-domain}}/webhook/products

method: 'GET'
{
    url: 'https://{{your-builderly-domain}}/webhook/products',
    headers: {},
    json: true,
    body: product_webhook
}

Responses Success - status 200

[
    product_webhook
]

Error - status 500

{
    error_message
}