@extends('layouts.master') @section('page_title', 'Woocommerce') @section('title', 'Woocommerce') @section('main_item', 'Woocommerce') @section('sub_item', 'Woocommerce') @section('content')
| Date | Sync Type | Operation | Synced By | Records | Operation Status | Product Sku | Sale Invoice No | Sale ID |
|---|
| Id | Queue | Payload | Attempts | Reserved at | Available at | Created at |
|---|
| Id | Connection | Queue | Payload | Exception | Failed at |
|---|
| Date | Sync Type | Operation | Synced By | Records | Operation Status | Product Sku | Sale Invoice No | Sale ID |
|---|
This is the documentation related to the API prepared for the website integration. It has created an API to create, read, update data using requests in JSON format.
| Sync Type | API Details | Response Data(JSON) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Units |
URL = http://localhost:8000/api/units;
|
This is the response data related to your request."data": [{ "id": 1, "actual_name": "Piece", "short_name": "PCS" }, { "id": 2, "actual_name": "piece", "short_name": "PCS" }, ] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Attributes |
URL = http://localhost:8000/api/attributes;
|
This is the response data related to your request."data": [{ "attribute_id": 1, "attribute_name": "Color", "id": 1, "value": "Black" }, { "attribute_id": 1, "attribute_name": "Color", "id": 2, "value": "Red" }, ] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Categories |
URL = http://localhost:8000/api/categories;
|
This is the response data related to your request."data": [{ "category_id": 1, "category_name": "Baby Set Collection", "id": 1, "sub_category_name": "Baby Girl" }, { "category_id": 1, "category_name": "Baby Set Collection", "id": 2, "sub_category_name": "Baby Boy" } ] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Products |
URL = http://localhost:8000/api/products;
|
This is the response data related to your request."data": [{ "id": 248, "product_name": "WERFEGFT", "product_type": "variable", "sku": "WM_90 - 1", "unit_id": 3, "category_id": 1, "sub_category_id": 2, "attribute_id": 17, "attribute_value_id": 69, "reorder_level": 3, "descrption": This is WERFEGFT Product, "qty": 10, "unit_cost": 150, "unit_price": 200, "second_woocomerece_unit_price": 0 }, { "id": 249, "product_name": "WERFEGFT", "product_type": variable, "sku": "WM_90 - 2", "unit_id": 3, "category_id": 1, "sub_category_id": 2, "attribute_id": 17, "attribute_value_id": 68, "reorder_level": 3, "descrption": This is WERFEGFT Product, "qty": -10, "unit_cost": 5, "unit_price": 10, "second_woocomerece_unit_price": 0 }, { "id": 291, "product_name": "Model Product", "product_type": "single", "sku": "M_401", "unit_id": 2, "category_id": 1, "sub_category_id": 2, "attribute_id": null, "attribute_value_id": null, "reorder_level": 34, "descrption": This is Model Product, "qty": 0, "unit_cost": 250, "unit_price": 500, "second_woocomerece_unit_price": 0 }, ] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Stocks |
URL = http://localhost:8000/api/stocks;
|
This is the response data related to your request."data": [{ "product_id": 248, "qty": 10, "unit_cost": 5, "unit_price": 10, "second_woocomerece_unit_price": null }, { "product_id": 249, "qty": 3, "unit_cost": 15, "unit_price": 20, "second_woocomerece_unit_price": null }, ] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Order Create |
URL = http://localhost:8000/api/create/order;
"id": 727,
|
This is the response data related to your request.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Order Status Change |
URL = http://localhost:8000/api/update/order/status; "id": 727, "order_number": "727", "status": "processing", "payment_method": "genie_ipg", "payment_method_title": "Direct Bank Transfer" }
|
This is the response data related to your request.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
delivery Status |
URL =
http://localhost:8000/api/delivery/status;
|
This is the response data related to your request.{ "data": [{ "woocommerce_sale_id": "251547", "full_waybill_no": "79", "status": "returned" }, { "woocommerce_sale_id": "7", "full_waybill_no": "14793390", "status": "dispatched" } ] } |