Documentation API Marketful


Description


Marketful API allows the user to create, obtain, update and delete information regarding orders and products, through the use of request in JSON format.

General information:
White fields are generally understood as null or empty string instead of being omitted.


API Version Updated at
V1 22/07/2019

Requirements


URL for production requests: https://fulfillment.marketful.mx/


The following headers are required.

Name Description
Access_token “Authorization”: Access_token,
“User”: user_id
user_id


Methods

Create Fulfillments resource


Create Multi Channel Fulfillments: Orders the Marketful team to fulfill an order from any sales channel.


Request


POST /shopi_orders/multicanal_api


Example of the API in Ruby on Rails.

api_token = "token_prueba"
api_user_id = "seller_de_prueba"
seller_id = 215 ### seller para pruebas
contact_info = {
"num_orden" => 123334,     ### Order Name. Unique by sales channel
"orden_id" => 234233423,     ### Unique identifier by seller
"customer" => "Charlie Hebdo",
"carrier_name" => "Fedex,
"telefono" => "4497893345",     ### Telephone
"calle" => "Madero",     ### Street Name
"no_exterior" => "34",     ### Exterior Number
"no_interior" => "",     ### Interior number (Apartment, House #)
"colonia" => "Centro",     ### Colonia
"ciudad" => "Aguascalientes",     ### City
"estado" => "MX - AG",     ### State
"codigo_postal" => "20290",     ### Zipcode
"canal" => "Liverpool",     ### Sales Channel
"tipo_envio" => "economico", ## economico, dia_siguiente     ### Shipment type (Next Day, Economy)
"asegurado" => false     ### Insured
}
items = [
{"sku"=>"MULTI01", "cantidad"=>2},     ### cantidad stands for quantity
{"sku"=>"TERMO10", "cantidad"=>3}     ### cantidad stands for quantity
]
url_base = 'https://fulfillment.marketful.mx/shopi_orders/multicanal_api'
header = {"Content-Type" => "application/json" , "Accept" =>
"application/json", "Authorization"=> api_token, "User" => api_user_id}
Parameters = {
"order"=>{
"contact_info" => contact_info,
"items" => items
}
}
response = HTTParty.post("#{url_base}", :query =>
Parameters, :headers =>header)

Options

Elements, rules and exceptions

Name Type
Methods “POST”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters "order": { "contact_info": contact_info,
"items": items }

Parameter Definition

Field Description Datatype Required
num_orden Unique order number. May be repeated for a same seller but not on the same seller and sales channel. string Yes
orden_id Unique order number by seller string Yes
customer Order recipient name string Yes
carrier_name We accept Marketful, Fedex, DHL, UPS, Estafeta, Will_Call string Yes
telefono Recipient Telephone Number string Yes
calle Street of shipment address string Yes
no_exterior Exterior number of shipment address string Yes
no_interior Interior number of shipment address string No
colonia Colonia of shipment address string Yes
ciudad City of shipment address string Yes
Estado State of shipment address. Must be in format “MX-XX”: e.g. MX - AG, MX - BC, etc. You can find a complete list of 2 letter codes in https://en.wikipedia.org/wiki/Tem plate:Mexico_State- Abbreviation_Codes string Yes
codigo_postal Shipment zipcode string Yes
canal Sales Channel string Yes
tipo_envio We accept “económico” and “dia_siguiente” string Yes
asegurado true if you wish the shipment to be insured. false if not. In case field is sent blank or not sent, it will be false by default boolean No

API expected response


code: 200
body: {"message": "Orden creada correctamente!"}


Response Management

Answer Received Case Type
code: 200
body: {"message": "Orden creada correctamente!"}
Success int
{ "result": 402, "campos_invalidos": ["customer"], “errores": ["Campo customer es obligatorio"] } If any mandatory field is missing. int
{ "message": {"result": 406, "campos_invalidos_items": ["sku_item_0", "sku_item_1"], "errores_items": ["SKU MULTI012 no lo tenemos registrado", "SKU TERMO10 no lo tenemos registrado"]} } When none of the SKUs provided is registered in Marketful. int
{ "message": {"result": 407, "mensaje": " - error No se genero la orden pues ningun item fue valido" } } When SKUs do exist in the system but there is an internal error when adding items to the order (please contact us in such case). int
{ "message": {"result":410, "mensaje":" - error al guardar el orden numero 23423423" } } If there is an internal error when creating the order (Please contact us immediately). int
{"message": {"result": 205, "mensaje": " - orden generada parcialmente" } } When at least one item was added correctly to the order. int

Get Fulfillment Resource.


Get Fulfillments by order_id.


Request


GET /shopi_orders/get_orders



Example of the API in Ruby on Rails


url_api = “https://fulfillment.marketful.mx/shopi_orders/get_orders”

header = {"Content-Type" => "application/json" , "Accept" => "application/json",
"Authorization"=> api_token, "User" => api_user_id}

Parameters = {canal: “Shopify”, orden: “#3616” }

response = HTTParty.get("#{url_api}", :query => Parameters, :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method “GET”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters canal: “order channel”,
orden: “order number”

Parameter Definition

Field Description Datatype Required
Authorization Unique key / Token.. string Yes
User Password / Token to identify the user. string Yes
canal The order channel you wish to get, eg "Shopify", "Marketful", etc. string Yes
orden The order number you want to get. Ex: "2554", "# 1254", etc. string Yes

API expected response


{
"message": "Orden encontrada",     ### order found
"orden": {
"shopify_name": "#3616",     ### num_orden
"shopify_created_at": "2019-06-20T18:30:43.176Z",     ### created_at
"customer": "Virginia Loya",     ### customer
"payment_status": "paid",
"fulfillment_status": "fulfilled",
"tracking_number": "0091605601",
"carrier_name": "marketful",
"telefono": "6641232293",
"calle": "Calle Rancho Alegre",
"noexterior": "12526",
"nointerior": null,
"colonia": "20 de Noviembre",
"ciudad": "Tijuana",
"estado": "Baja California ",
"codigo_postal": "22100",
"canal": "Shopify",
"tipo_envio": "Dia siguiente",     ### shipping method
"asegurado": false,
"file_name": null,
"costo_ff": "21.0",     ### Fulfillment cost
"cargada_a_cuenta": true
}
}

Response Management

Answer Received Case Type
{ "message": "Orden no encontrada" } If the parameters (channel / order) are incorrect, or do not match any order string
{ "message": "Seller not found" } If any of the values of the {Headers (Authorization / User) is incorrect string
{ "message": "Invalid Token" } If any of the headers are not sent or missing string
{ "message": "Canal y numero de orden deben existir" } If any of the body parameters are not sent or missing (channel / order) string

Create entry order


To send their stocks to Marketful, sellers must tell Marketful what they are going to send to the warehouse before sending it. This Entry Order allows Marketful to validate the amounts received against what was supposed to be received.


Request


POST /entradas/nueva_entrada_api


Example of the API in Ruby on Rails


entry_order = {"PAQ-EA"=>0, “BOTLE12”=>50}

url_final = "https://fulfillment.marketful.mx/entradas/nueva_entrada_api"
header = {"Authorization" => Access_token, "User"=>user_id}
Parameters = {"entry_order"=>entry_order}
response = HTTParty.post("#{url_final}", :query => Parameters, :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method “POST”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters "entry_order" : entry_order

Parameter Definition

Field Description Datatype Required
entry_order It includes an object for each item that is added to the entry order, its value being the amount of stock to send. object Yes

API expected response


{
"message": "Succes",
"order_token": order_token,
"description": "Order created successfully"
}

order_token: Token para identificar la orden que se acaba de crear


Response Management

Answer Received Case Type
status: 200 , json: { message: "Success", order_token: description: "Order created successfully", Success int
status: 401, json: { message: "The following items were not found or their inventory is less than or equal to zero", items: items_falsos, } Some items do not exist or the inventory has a value less than 0
int
status: 402, json: { message: "entry_order is null", } The "entry_orden" parameter is not present int
status: 403, json: { message: "Parameter 'entry_order' must be present", } The entry is not present in the order int
status: 400, json: { message: "User Not Found", } User is not found int
status: 404, json: { message: "Invalid Authorization", } The headers and parameters were not found int

Get Stock by SKU


Get back the current stock levels available for sale.


Request


GET /items/get_stock


Example of the API in Ruby on Rails


sku = "PAQ-EA"

url_final = "https://fulfillment.marketful.mx/items/get_stock"
header = {"Authorization" => Access_token, "User"=>user_id}
Parameters = {“sku”=>sku}
response = HTTParty.get("#{url_final}", :query => Parameters, :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method “GET”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters "sku" :sku

Parameter Definition

Field Description Datatype Required
sku Product identification code ex. “Bottle234543” string Yes

API expected response


{
"message": "Succes",
"sku": "PAQ-EA",
"available_quantity": 100
}


Response Management

Answer Received Case Type
status: 200 , json: { message: "Success", sku: item.sku, avariable_quantity, Success int
status: 402, json: { message: "Item #{sku} not found", } Item not found
int
status: 403, json: { message: "SKU must be present", } Product SKU not found int
status: 403, json: { message: "User Not Found", } User is not found int
status: 404, json: { message: "Invalid Authorization", } The headers and parameters were not found int

Get Stock by EAN


Retrieves current stock levels available for sale.


Request


GET /items/get_stock_ean


Example of the API in Ruby on Rails.


Example 1

url_final = "https://fulfillment.marketful.mx/items/get_stock_ean"
header = {"Authorization" => Access_token, "User"=>user_id}
parameters = {"ean" => "07852236842"}
response = HTTParty.get("#{url_final}", :query => parameters, :headers =>header)

Example 2

url_final = "https://fulfillment.marketful.mx/items/get_stock_ean?ean=07852236842"
header = {"Authorization" => Access_token, "User"=>user_id}
response = HTTParty.get("#{url_final}", :headers =>header)


Options

Elements, rules and exceptions

Name Type
Método “GET”
Headers “Authorization”: Access_token,
“User”: user_id
Body/parameters "ean": Codigo EAN

Parameter Definition

Field Description Datatype Required
ean EAN product code ej. "07852236842" String Yes

API expected response


{
"message": "Succes",
"ean": "07852236842",
"available_quantity": 100
}


Response Management

Answer Received Case Type
status: 200
body: { message: "Success", ean: EAN, available_quantity: number, item_id: Item ID,
Success JSON
status: 401
body: { message: "Item con EAN '07852236842' no encontrado", }
Item not found
JSON
status: 402
body: { message: "ean must be present and must be String", }
CWhen the "ean" parameter is not being sent or has an incorrect format JSON
status: 403
body: { message: "User Not Found", }
If any of the values ​​of the Headers (Authorization / User) is incorrect JSON
status: 404
body: { message: "Invalid Authorization", }
If any of the headers are not sent or are missing. JSON

Create item


To request marketful to register products and thus be able to have an inventory control of these products.
It allows to register from multiple products in a single request.


Request


POST /items/create_item


Example of the API in Ruby on Rails


products = [ {"title":"Botella 45", "list_price":420, "sku":"BOT45-G"} ,
{"title":"Lapiz 45 Gen", "list_price":120, "sku":"LAPZ-G", "ean"=>"078521452111"}
]

url_final ="https://fulfillment.marketful.mx/items/create_item"
header = { "Authorization" => "Access_token", "User"=>"user_id"}
Parameters = {“items”=>products}
response = HTTParty.post("#{url_final}", :query => Parameters, :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method “POST”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters “items”: products

Parameter Definition

Field Description Datatype Required
items Object vector, where each object includes the parameters title, list_price, sku, height, width, lenght, wieght, ean object Yes
title Product title string Yes
list_price Price of the product float Yes
sku Product identification code, (No special characters) string Yes
height Product height float No
width Product width float No
length Product length float No
weigth Product weigth float No
ean EAN Code for the product string No

API expected response


{
code: 200
message: Succes
items_saved: An arrangement with the detailed list of the products just registered,
Include the id of the item that was registered. This id is required to perform other request methods.
in the API.
}

// Secondary response
{
code :201
message: The following items were not found or their inventory is less than or equal to zero
items_saved: An arrangement with the detailed list of the products just registered,
Include the id of the item that was registered. This id is required to perform other request methods.
in the API.
“item_errors” : Object containing those products that could be saved
“description”: The reason why the products could not be saved.
}

Response Management

Answer Received Case Type
status: 200, json: { message: "Success", description: "All Items are now registered", items_saved: salida,} All items were saved sucessfully
int
status: 201 , json: { message: "The following Items could not be saved", items_errors: items_no_save, items_saved: salida, it was not possible to save all items int
status: 401, json: { message: "Incomplete data", description: "No item was saved because the following items have either incorrect data or Incomplete data", items_errors: items_incomplete, } The data is incomplete int
status: 402, json: { message: "Parameter 'items' must be present", } When the “Items” parameter is not being sent int
status: 403, json: { message: "User Not Found", } If any of the values of { Headers (Authorization / User) is incorrect int
status: 404, json: { message: "Invalid Authorization", } If any of the headers are not sent or missing. int

Delete item


It allows to delete a product by product id.


Request


POST /items/delete_item


Example of the API in Ruby on Rails


url_final = "https://fulfillment.marketful.mx/items/delete_item"
header = {"Content-Type" => "application/json" , "Accept" => "application/json",
"Authorization": Access_token, "User": user_id}
Parameters = {"item_id"=> 81971}
response = HTTParty.post("#{url_final}", :query => Parameters, :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method “POST”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters “item_id”: item_id

Parameter Definition

Field Description Datatype Required
item_id Product id to remove int Yes

API expected response


{
code: 200
message: Succes
description : “Item 81971 deleted”
}


Response Management

Answer Received Case Type
status: 200 , json: { message: "Success", description: "Item #{item_id} deleted", Item deleted successfully int
status: 401, json: { message: "Item not found",} Item not found
int
status: 402, json: { message: "item_id must be present", } The parameter “item_id is not being sent or is not being sent int
status: 403, json: { message: "User Not Found", } If any of the values of { Headers (Authorization / User) is incorrect int
status: 404, json: { message: "Invalid Authorization", } If any of the headers are not sent or missing. int

Update item


Method that allows updating the attributes of a product by product id.


Request


POST /items/update_item


Example of the API in Ruby on Rails


url_final = "https://fulfillment.marketful.mx/items/update_item"
header = {"Content-Type" => "application/json" , "Accept" => "application/json",
"Authorization": Access_token,"User": user_id }
Parameters = {"item_id"=> item_id, "title"=>"Pluma Roja"}
response = HTTParty.post("#{url_final}", :query => Parameters, :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method “POST”
Headers “Authorization”: Access_token,
“User”: user_id
Body/Parameters {"item_id"=> item_id, "title"=>"Pluma Roja", "height"=>12, "width"=> 12, "length"=> 12, "weigth"=> 12, "list_price"=>355, "sku"=>"ABCD12"

Parameter Definition

Field Description Datatype Required
item_id Product id to remove int Yes
title Product title string No
height Product height float No
width Product width float No
length Product length float No
weigth Product weigth float No
list_price Price of the product float No
sku Product identification code (no special characters) string No
ean EAN identification code(no special characters) string No

API expected response


{
code: 200
message: “Succes”
description: "Item updated"
items_updated: Array with the new corresponding values of the updated item
}


Response Management

"If no parameter is sent to update, the method returns status 200"


Answer Received Case Type
status: 200 , json: { message: "Success", description: "Item Updated " items_update: salida, The item is updated successfully int
status: 405, json: { message: "Item could not be updated",} It was not possible to update the item
int
status: 400, json: { message: "Item not found",} Item not found int
status: 402, json: { message: "item_id must be present", } The “item_id” parameter is not found or is not being sent int
status: 403, json: { message: "User Not Found", } If any of the values of { Headers (Authorization / User) is incorrect int
status: 404, json: { message: "Invalid Authorization", } If any of the headers are not sent or missing. int

Get Shipment Events from an order


Method that allows consulting all shipping events related to an order through the order id.


Request


GET /shipment_events/get_events


Example of the API in Ruby on Rails.


Example 1
url_final = "https://fulfillment.marketful.mx/shipment_events/get_events"
header = { "Authorization" => Access_token, "User"=> user_id}
parametros = {"order_id"=>5021}
response = HTTParty.get("#{url_final}", :query => parametros, :headers =>header)

Example 2
url_final = "https://fulfillment.marketful.mx/shipment_events/get_events?order_id=5021"
header = { "Authorization" => Access_token, "User"=> user_id}
response = HTTParty.get("#{url_final}", :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method GET
Headers “Authorization”: Access_token,
“User”: user_id
Body/parameters {"order_id" => 5021}

Parameter Definition

Field Description Datatype Required
order_id order id int Yes

API expected response


{

"message":"Success",
"orden":{
"numero_orden":"#1202",
"canal":"Shopify",
"shipment_events":[
{
"id":null,
"event_name":"canceled",
"nota_cliente":"Enviado con otra mensajeria",
"event_time":"2020-09-02T14:55:29.262Z",
"seller":"prueba20junio"
},
{
"id":null,
"event_name":"new",
"nota_cliente":"Nuevo",
"event_time":"2020-09-02T14:53:38.780Z",
"seller":"prueba20junio"
},
{
"id":null,
"event_name":"El paquete llego a la ciudad destino",
"nota_cliente":"El paquete llego a tu ciudad",
"event_time":"2020-09-02T14:52:19.796Z",
"seller":"prueba20junio"
},
{
"id":null,
"event_name":"El paquete llego a la ciudad destino",
"nota_cliente":"El paquete llego a tu ciudad",
"event_time":"2020-09-02T14:49:55.082Z",
"seller":"prueba20junio"
},
{
"id":null,
"event_name":"Se cambio la direccion de la orden Fulfilled",
"nota_cliente":null,
"event_time":"2020-09-02T14:39:00.000Z",
"seller":null
},
{
"id":null,
"event_name":"En traslado a la ciudad de destino",
"nota_cliente":"El envío ya salió de Marketful y está en camino",
"event_time":"2020-09-02T14:38:00.000Z",
"seller":"prueba20junio"
},
{
"id":null,
"event_name":"Pick & Pack",
"nota_cliente":"Ya estamos preparando tu pedido”",
"event_time":"2020-09-02T14:31:00.000Z",
"seller":"prueba20junio"
}
]
} }

Response Management


Answer Received Case Type
status: 200
body: { message: "Success", orden: objeto
Success response JSON
status: 404
body:{ message: "Orden no encontrad"}
If the order id does not correspond to any existing order. JSON
status: 404
body: { message: "order_id must be present", }
The "order_id" parameter is not found or is not being sent with a valid format JSON
status: 404
body: { message: "Seller Not Found", }
If the credentials provided do not correspond to a user JSON
status: 404
body: { message: "User Not Found", }
If any of the values ​​of the { Headers (Authorization / User) is incorrect JSON
status: 404
body: { message: "Invalid Authorization", }
If they are not sent or are missing any of the headers.. JSON

Get Webhooks


Method that allows you to consult all the Webhhoks that you have registered.


Request


GET /webhooks/consultar


Example of the API in Ruby on Rails.



url_final = "https://fulfillment.marketful.mx/webhooks/consultar"
header = { "Authorization" => Access_token, "User"=> user_id}
response = HTTParty.get("#{url_final}", :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method GET
Headers “Authorization”: Access_token,
“User”: user_id

Parameter Definition

Field Description Datatype Required

API expected response


{
"message":"Success",
"webhooks":[
{
"id":2,
"seller_id":270,
"active":true,
"url":"https://fulfillment.marketful.mx/prueba_wh",
"tipo":"order/created",
"created_at":"2020-09-30T19:37:53.890Z",
"updated_at":"2020-09-30T19:37:53.890Z"
},
{
"id":4,
"seller_id":270,
"active":true,
"url":"https://fulfillment.marketful.mx/prueba_wh",
"tipo":"shipment_event/created",
"created_at":"2020-09-30T19:38:31.414Z",
"updated_at":"2020-09-30T19:38:31.414Z"
},
{
"id":5,
"seller_id":270,
"active":true,
"url":"https://fulfillment.marketful.mx/prueba_wh",
"tipo":"order/updated",
"created_at":"2020-09-30T19:43:37.295Z",
"updated_at":"2020-09-30T19:43:37.295Z"
}
]
}

Response Management


Answer Received Case Type
status: 200
body: { message: "Success", webhooks: Listado de los Webhooks
Success response JSON
status: 404
body: { message: "User Not Found", }
If any of the values ​​of the { Headers (Authorization / User) is incorrect JSON
status: 404
body: { message: "Invalid Authorization", }
If they are not sent or are missing any of the headers.. JSON

Crear un Webhook


Method that allows creating Webhooks to create orders, update orders and create Events of the order.


Request


POST /webhooks/crear


Example of the API in Ruby on Rails.


Example 1
url_final = "https://fulfillment.marketful.mx/webhooks/crear"
header = { "Authorization" => Access_token, "User"=> user_id}
parametros = {"url"=>"www.example.com/notificaciones", "tipo"=>"order/created"}
response = HTTParty.post("#{url_final}", :query => parametros, :headers =>header)

Example 2
url_final = "https://fulfillment.marketful.mx/webhooks/crear?tipo=order/created&url=www.example.com/notificaciones"
header = { "Authorization" => Access_token, "User"=> user_id}
response = HTTParty.post("#{url_final}", :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method POST
Headers “Authorization”: Access_token,
“User”: user_id
Body/parameters {"url"=>"www.example.com/notificaciones", "tipo"=>"order/created"}

Parameter Definition

Field Description Datatype Required
url Link / URL to which the Webhook will send the corresponding information. String Yes
tipo Name or type of the Webhook to create ("order/created", "order/updated", "shipment_event/created") String Yes

API expected response


{
"message":"Success",
"webhook":{
"id":5,
"url":"https://fulfillment.marketful.mx/prueba_wh",
"seller_id":270,
"active":true,
"tipo":"order/updated",
"created_at":"2020-09-30T14:43:37.295-05:00",
"updated_at":"2020-09-30T14:43:37.295-05:00"
}
}

Response Management


Answer Received Case Type
status: 200
body: { message: "Success", webhook: Webkook
The Webhook was created successfully JSON
status: 404
body:{ message: "Ya existe un Webhook para order/created"}
When there is already a Webhook with the same type / name and it has a different URL than the one being sent. In case of sending the same "type" and "url" and that there is already a Webhook with this information, the existing Webhook will return. JSON
status: 404
body:{ message: "Error al crear Webhook", error: "Explanation of the error"}
When the Webhook could not be created for some reason, it will be specified in the ": error" field JSON
status: 404
body:{ message: "Webhook orders/CRATED desconocido/invalido"}
If the type/name of the webhook is not within the list of existing webhooks. JSON
status: 404
body: { message: "Parametros incompletos (url y tipo deben estar presentes", }
When the necessary parameters for the request ("type" and "url") are not present or have an invalid format. JSON
status: 404
body: { message: "User Not Found", }
If any of the values ​​of the { Headers (Authorization / User) is incorrect JSON
status: 404
body: { message: "Invalid Authorization", }
If they are not sent or are missing any of the headers.. JSON

Delete a Webhook


Method that allows you to delete a Webhook through its id.


Request


POST /webhooks/eliminar


Example of the API in Ruby on Rails.


Example 1
url_final = "https://fulfillment.marketful.mx/webhooks/eliminar"
header = { "Authorization" => Access_token, "User"=> user_id}
parametros = {"webhook_id"=>"3"}
response = HTTParty.post("#{url_final}", :query => parametros, :headers =>header)

Example 2
url_final = "https://fulfillment.marketful.mx/webhooks/eliminar?webhook_id=3"
header = { "Authorization" => Access_token, "User"=> user_id}
response = HTTParty.post("#{url_final}", :headers =>header)


Options

Elements, rules and exceptions

Name Type
Method POST
Headers “Authorization”: Access_token,
“User”: user_id
Body/parameters {"webhook_id"=>"3"}

Parameter Definition

Field Description Datatype Required
webhook_id Webhook id to delete Integer Yes

API expected response


{
"message":"Success",
}

Response Management


Answer Received Case Type
status: 200
body: { message: "Success" }
The Webhook was successfully removed. JSON
status: 404
body:{ message: "Webhook 4 no encontrado"}
When the webhook_id does not match any registered webhook. JSON
status: 404
body: { message: "Parametro webhook_id no esta presente o esta en un formato invalido", }
When the webhook_id parameter is not present or has an invalid format. JSON
status: 404
body: { message: "User Not Found", }
If any of the values ​​of the { Headers (Authorization / User) is incorrect JSON
status: 404
body: { message: "Invalid Authorization", }
If they are not sent or are missing any of the headers.. JSON