### Get Stock Adjustment Response Sample Source: https://docs.jubelio.com/ Example of a successful response when retrieving stock adjustment details. Includes item adjustment ID, transaction date, notes, and item details. ```json { "item_adj_id": -1, "item_adj_no": "_ADJ-BB_", "transaction_date": "2018-10-20T17:00:00.000Z", "created_date": "2018-10-20T17:00:00.000Z", "note": "Saldo Awal Persediaan", "is_opening_balance": true, "location_id": -1, "created_by": "Saldo Awal Persediaan", "location_name": "Pusat", "items": [ { "item_adj_detail_id": 1, "item_id": 1, "serial_no": "S000121", "qty": 0, "qty_in_base": 3, "uom_id": 1, "unit": "Buah", "cost": 75000, "amount": 225000, "account_id": 75, "account_code": "7-7004", "item_full_name": "BAR-1-HIT - Barang 1", "account_name": "7-7004 - Penyesuaian Persediaan Barang", "average_cost": 75000, "description": "Item Example Description" } ] } ``` -------------------------------- ### GET /inventory/item-bundles/ Source: https://docs.jubelio.com/dist.yaml Retrieves a list of all product bundles. ```APIDOC ## GET /inventory/item-bundles/ ### Description Get All Bundles ### Method GET ### Endpoint /inventory/item-bundles/ ### Parameters #### Query Parameters - **authorization** (string) - Required - Authorization token - **page** (integer) - Optional - Page number for pagination - **pageSize** (integer) - Optional - Number of items per page - **sortDirection** (string) - Optional - Direction of sorting (e.g., 'asc', 'desc') - **sortBy** (string) - Optional - Field to sort by - **csv** (string) - Optional - Parameter for CSV export - **q** (string) - Optional - Filter By [item_code/item_name]. Please exclude special character. - **channelId** (string) - Optional - Filter by channel ID ### Response #### Success Response (200) - **schema** (object) - The response schema for a successful retrieval of all bundles. #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Response Sample for Get All Categories Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get All Categories' endpoint, including a data array with category details. ```json { "data": [ { "category_id": 1, "category_name": "Komputer", "parent_id": 0, "has_children": true } ] } ``` -------------------------------- ### GET /sales/orders/ready-to-pick/ Source: https://docs.jubelio.com/dist.yaml Retrieves sales orders that are ready to be picked. ```APIDOC ## GET /sales/orders/ready-to-pick/ ### Description Get sales orders that are ready to be picked. ### Method GET ### Endpoint /sales/orders/ready-to-pick/ ``` -------------------------------- ### Get All Sales Settlements Response Sample Source: https://docs.jubelio.com/ This JSON sample illustrates the response structure for the GET /sales/settlements/ endpoint, detailing sales settlement information. ```json { * "data": [ * { * "cashbank_payment_id": 4, * "cashbank_payment_no": null, * "cashbank_receive_id": 118, * "cashbank_receive_no": "REC-000000028", * "transaction_date": "2018-10-20T17:00:00.000Z", * "channel_id": 128, * "invoice_amount": "0.00000", * "note": null, * "payment_amount": "0.00000", * "payment_id": 10, * "payment_no": "", * "receive_amount": "10811049.0000", * "settlement_header_id": 38, * "settlement_no": "STL-000000038", * "source": "TOKOPEDIA - JubeCorner", * "store_id": 23000 } ], * "totalCount": 1 } ``` -------------------------------- ### Response Sample for Get Store Categories (List) Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Store Categories' endpoint, returning a list of categories with their IDs and names. ```json [ { "category_id": "ed8e8964-d3ab-4101-834b-426b85b241b0", "category_name": "Bottem/Men" } ] ``` -------------------------------- ### Get All Master Product Source: https://docs.jubelio.com/dist.yaml Retrieves a list of all master products. ```APIDOC ## GET /inventory/items/masters ### Description Retrieves a list of all master products. ### Method GET ### Endpoint /inventory/items/masters ### Parameters #### Query Parameters - **authorization** (string) - Required - Authentication token. ``` -------------------------------- ### Channel Categories Source: https://docs.jubelio.com/ To find a category that matched with your products in the marketplace, you can use this endpoint so you can get category_id to later get the channel_category_id. channel_category_id is the last 3 digits in category_id. For example: If category_id is 10100387 , then the channel_category_id is 387. This endpoint uses id as query parameter which refers to channel_id. ```APIDOC ## GET /inventory/categories/channel-categories/{parent_id} ### Description To find a category that matched with your products in the marketplace, you can use this endpoint so you can get **category_id** to later get the **channel_category_id**. **channel_category_id** is the last 3 digits in **category_id**. For example: If **category_id** is **10100387** , then the **channel_category_id** is **387**. This endpoint uses **id** as query parameter which refers to **channel_id**. ### Method GET ### Endpoint https://api.jubelio.com/inventory/categories/channel-categories/{parent_id} ### Parameters #### Path Parameters - **parent_id** (number) - Required - Parent ID. Set 0 to get all the list of category_id available on the marketplace. #### Query Parameters - **id** (string) - Required - Refers to channel_id. See the table above. #### Header Parameters - **authorization** (string) - Required - Authentication Token ### Responses #### Success Response (200) Successful #### Error Response (500) Internal Server Error ``` -------------------------------- ### Get Promotion Response Sample Source: https://docs.jubelio.com/ Sample response when successfully retrieving promotion details. ```json { "promotion_id": 0, "promotion_name": "BLACK FRIDAY", "start_date": "2018-10-02T04:00:00.000Z", "end_date": "2018-10-03T05:00:00.000Z", "is_applied": false, "channel_info": [ { "store_id": 359, "channel_id": 64, "discount_id": 1007180959 } ], "channels": [ { "store_id": 359, "channel_id": 64, "channel_full_name": "Bukalapak" } ], "details": [ { "promotion_detail_id": 0, "item_group_id": 20, "promotion_price": 300000, "item_group_name": "Gembok anti maling warna HITAM", "price": 399000, "item_id": 1, "item_code": null, "item_short_name": "Item 1" } ] } ``` -------------------------------- ### Get List of Products To Buy (in PO) Response Sample Source: https://docs.jubelio.com/ This JSON response provides details for products available to buy, including pricing, unit, and account information. It's used for purchase order creation. ```json { "item_group_id": 2642, "item_id": 1, "item_code": "AB10648607583", "item_name": "Addison Jacket", "buy_price": "2o.000", "buy_unit": "Buah", "account_code": "1-1200", "account_name": "1-1200 - Persediaan Barang", "last_price_receive": 0, "buy_tax_id": 1, "rate": 0, "tax_name": "No Tax", "acct_id": 0, "uom_id": -1, "item_full_name": "DYSW351-Addison Jacket", "use_serial_number": false, "use_batch_number": false, "is_consignment": false, "average_cost": null, "thumbnail": "https://jubelio.blob.core.windows.net/images/0swqgtzyqwoti4bwbawsvq/b0071d5448c263a9253dbb0e34fbb8ef_thumb.jpg" } ``` -------------------------------- ### Get All Products Response Sample Source: https://docs.jubelio.com/ This is a sample JSON response for retrieving a list of products. It includes details like channel ID, category information, and URL. ```json [ { "channel_id": 2, "category_id": 10100387, "category_name": "Audio", "url": null, "parent_id": 0, "variants": [ { "is_variant": true } ], "category_name_alt": "Audio", "has_children": true } ] ``` -------------------------------- ### Response Sample for Get Category Information Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Category Information' endpoint, providing details about a specific category. ```json { "category_id": 1, "category_name": "Komputer", "parent_id": 0, "has_children": true } ``` -------------------------------- ### Response Sample for Product Listing (200 OK) Source: https://docs.jubelio.com/ This is a successful response sample for the product listing upload. It confirms the operation status and provides marketplace and store identifiers. ```json { "status": "ok", "mp_group_id": 1245, "store_id": 38735 } ``` -------------------------------- ### Response Sample for Get Category Attributes Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Category Attributes' endpoint, returning attribute ID and name. ```json [ { "attribute_id": 1, "attribute_name": "Periode Garansi" } ] ``` -------------------------------- ### Create Product Listing Source: https://docs.jubelio.com/dist.yaml Create a product listing before uploading it to a marketplace. ```APIDOC ## POST /inventory/catalog/listing ### Description Create your product listing before uploading it to the marketplace. ### Method POST ### Endpoint /inventory/catalog/listing ``` -------------------------------- ### Create Product Bundle Request Source: https://docs.jubelio.com/ Use this structure to create a product bundle. Set 'is_bundle' to true and include item details obtained from the '/inventory/items/to-sell/' endpoint. ```json { "item_id": 123, "item_group_id": 456, "item_code": "BUNDLE-001", "store_id": 789, "is_bundle": true } ``` -------------------------------- ### Response Sample for Get Store Categories Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Store Categories' endpoint. It includes status, ID, and item IDs. ```json { "status": "ok", "id": 1, "item_ids": [ 1 ] } ``` -------------------------------- ### Get All Sales Response Sample Source: https://docs.jubelio.com/ A sample JSON response for retrieving all sales, including details like document ID, customer name, and transaction date. ```json { "data": [ { "doc_id": 2, "doc_number": "INV-000000222", "contact_id": 32, "customer_name": "Andy", "transaction_date": "2018-10-20T17:00:00.000Z", "due_date": "2018-10-20T17:00:00.000Z", "is_opening_balance": false, "grand_total": 4400000, "due": 4400000, "doc_type": "invoice", "age": 8, "age_due": 8, "payment_id": 1, "ref_no": null, "so_customer_name": null } ], "totalCount": 1 } ``` -------------------------------- ### Get Unpaid Sales Returns Response Sample Source: https://docs.jubelio.com/ This is a sample JSON response for the GET /sales/sales-returns/unpaid/ endpoint, showing the structure of returned sales return data. ```json { * "data": [ * { * "doc_id": 4, * "doc_number": "SR-000000001", * "contact_id": 1, * "customer_name": "Mikha Januardi Millen", * "transaction_date": "2018-10-20T17:00:00.000Z", * "due_date": "2018-10-20T17:00:00.000Z", * "is_opening_balance": false, * "grand_total": -120000, * "due": -120000, * "doc_type": "credit_note", * "age": 0, * "age_due": 0 } ], * "totalCount": 1 } ``` -------------------------------- ### Sample JSON Response for Product Listing Source: https://docs.jubelio.com/ This is a sample JSON response for the 'get/inventory/catalog/for-listing/{id}' endpoint, illustrating the structure of product data returned. ```json [ { "id": 2, "text": "Pusat" } ] ``` -------------------------------- ### Response Sample for Get Category Variants Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Category Variants' endpoint, showing variant name and an array of variant values. ```json [ { "variant_name": 4, "variant_values": [ { } ] } ] ``` -------------------------------- ### Get List of Products To Buy (in PO) Source: https://docs.jubelio.com/ Retrieves a list of products available for purchase orders, including pricing and account details. ```APIDOC ## Get List of Products To Buy (in PO) ### Description Retrieves a list of products available for purchase orders, including pricing and account details. ### Method GET ### Endpoint /inventory/items/to-buy ### Query Parameters - **page** (number) - Required - Page number. - **pageSize** (number) - Required - Page Size. Max. page size is 200. - **sortBy** (string) - Optional - Sort By Field. Example: sortBy=Name - **sortDirection** (string) - Optional - Sort Direction [ASC/DESC]. Example: sortDirection=ASC - **q** (string) - Optional - Filter Query ### Header Parameters - **authorization** (string) - Required - Authentication Token. Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTU0NjY3456MH0.KVt...Authentication Token ### Request Example ```json { "item_group_id": 2642, "item_id": 1, "item_code": "AB10648607583", "item_name": "Addison Jacket", "buy_price": "2o.000", "buy_unit": "Buah", "account_code": "1-1200", "account_name": "1-1200 - Persediaan Barang", "last_price_receive": 0, "buy_tax_id": 1, "rate": 0, "tax_name": "No Tax", "acct_id": 0, "uom_id": -1, "item_full_name": "DYSW351-Addison Jacket", "use_serial_number": false, "use_batch_number": false, "is_consignment": false, "average_cost": null, "thumbnail": "https://jubelio.blob.core.windows.net/images/0swqgtzyqwoti4bwbawsvq/b0071d5448c263a9253dbb0e34fbb8ef_thumb.jpg" } ``` ### Responses #### Success Response (200) Successful #### Error Response (500) Internal Server Error ``` -------------------------------- ### Response Sample for Get Category Mapping to Marketplace Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Category Mapping to Marketplace' endpoint, showing channel ID and channel category ID. ```json [ { "channel_id": 1707, "channel_category_id": 14730 } ] ``` -------------------------------- ### Create product bundles Source: https://docs.jubelio.com/dist.yaml Endpoints for creating product bundles. ```APIDOC ## Create product bundles ### Description Endpoints for creating product bundles. | No | Endpoints | | ---- | ----------------------------------------- | | 1 | [GET/inventory/items/to-sell/](https://docs.jubelio.com/#operation/getItemsToSell) | Obtain all of item details that are going to bundle (**item_id, item_group_id, item_code, store_id**, etc) | | 2 | [GET/inventory/categories/item-categories/](https://docs.jubelio.com/#operation/getInventoryCategoriesItemcategories) | Use this endpoint to know which categories matched with your products. Obtain the **category_id** to later use as **item_category_id** in endpoint no.3 | | 3 | [POST/inventory/items/](https://docs.jubelio.com/#operation/getInventoryItems) | Create product bundle. Fill in the value as described in the schema and the value that you've got from endpoint no. 1. Set **is_bundle** as **true**. | ``` -------------------------------- ### Get Sales Settlement by ID Response Sample Source: https://docs.jubelio.com/ This JSON sample shows the detailed response for retrieving a specific sales settlement using its ID via the GET /sales/settlements/{id} endpoint. ```json { * "invoice_amount": "0.0000", * "note": null, * "payment_amount": "0.00000", * "receive_amount": "10811049.0000", * "settlement_header_id": 38, * "settlement_no": "STL-000000038", * "transaction_date": "2018-10-20T17:00:00.000Z", * "items": [ * { * "account_id": 1, * "account_name": "1-1000 - Kas", * "adjust_amount": 0, * "date": "2021-01-31T13:01:28.000Z", * "diff_amount": "84843.0000", * "internal_invoice_amount": "0.0000", * "invoice_id": 22, * "invoice_no": "INV-000000222", * "salesorder_id": 220, * "settlement_detail_id": 8503, * "status": 8503, * "store_order_amount": "84843.0000", * "store_ref_no": "TP-INV/20210126/XXI/I/736301728" } ] } ``` -------------------------------- ### Create/Edit Product Bundle Source: https://docs.jubelio.com/dist.yaml Creates or edits a product bundle. ```APIDOC ## POST /inventory/items/ ### Description Creates or edits a product bundle. ### Method POST ### Endpoint /inventory/items/ ### Request Body - Request body schema defined by `#/components/schemas/saveProductBundleRequest` ### Response #### Success Response (200) - Response schema defined by `#/components/schemas/saveProductBundleResponse` #### Error Response (500) - Response schema defined by `#/components/schemas/internalServerError` ``` -------------------------------- ### Get All Variations API Response Source: https://docs.jubelio.com/ Response sample for the get all variations endpoint. It returns a paginated list of items with their variations, including details like item ID, name, and channel-specific information. ```json { "data": [ { "item_category_id": 100, "brand_id": 169798, "brand_name": "ASUS", "item_group_id": 34, "item_group_name": "LAPTOP ASUS ROG - BLACK", "created_date": "2020-07-01T17:00:00.000Z", "variations": [ { "label": "Ukuran", "values": [ "13 inch" ] } ], "item_id": 9, "item_code": "BAR-LAP-13", "item_name": "Barang Laptop", "variation_values": [ { "label": "Ukuran", "value": "13 inch" } ], "barcode": null, "is_bundle": false, "rop": 0, "lead_time": 0, "rack_no": null, "package_weight": 50, "store_priority_qty_treshold": 2, "sell_price": 12000000, "end_qty": 1, "average_cost": null, "is_variant": true, "is_unlimited_stock": false, "last_modified": "2020-07-01T17:00:00.000Z", "channels": [ { "ioc_id": 2, "channel_id": 2, "store_id": 8529, "store_name": "Toko Keren", "sell_here": false, "category_name": "Laptop", "selected_brand_name": "ASUS", "have_general_variation": false } ] } ], "totalCount": 1 } ``` -------------------------------- ### Create Promotion Source: https://docs.jubelio.com/dist.yaml This endpoint allows you to create new promotions. It requires details about the promotion, including SKU, date, and price, which should align with the provided schema and information obtained from the get promotions endpoint. ```APIDOC ## POST /inventory/promotions/ ### Description Create a new promotion. ### Method POST ### Endpoint /inventory/promotions/ ### Request Body - **schema** (object) - Required - The schema for saving a promotion. ### Response #### Success Response (200) - **schema** (object) - Successful response schema for saving a promotion. #### Error Response (500) - **schema** (object) - Internal Server Error schema. ``` -------------------------------- ### Response Sample for Get Attributes Values Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get Attributes Values' endpoint, showing attribute ID, last modified date, value ID, and value name. ```json [ { "attribute_id": 2637, "last_modified": "2020-10-20T17:00:00.000Z", "value_id": 34233, "value_name": "1 Month" } ] ``` -------------------------------- ### Response Sample for Getting All Purchase Returns Source: https://docs.jubelio.com/ This JSON payload is a sample successful response (200 OK) for retrieving a list of purchase returns. It includes pagination details and an array of purchase return objects, each with its own set of properties. ```json { "data": [ { "doc_id": 2, "doc_number": 2, "contact_id": 2, "supplier_name": "PTYANYWAY", "transaction_date": "2018-10-02T04:00:00.000Z", "purchaseorder_id": null, "due_date": "2018-10-02T04:00:00.000Z", "is_opening_balance": false, "grand_total": -77000, "due": -77000, "doc_type": "debit_note", "age": 0, "age_due": 0, "is_consignment": false, "note": "", "location_name": "Gudang Besar", "total_qty": 100000 } ], "totalCount": 1 } ``` -------------------------------- ### Get All Picklist 响应示例 Source: https://docs.jubelio.com/ 这是一个200响应的示例,展示了所有picklist的列表,包括picklistID、销售订单ID、状态等。 ```json { "data": [ { "picklist_id": 6, "salesorder_id": 7, "picklist_no": "PICK-000000007", "status": "Dalam Proses", "salesorder_no": "LZ-2290233663", "source": 4, "store_id": 101, "source_name": "Lazada", "store_name": "Lazada", "transaction_date": "2018-11-19T01:46:21.000Z", "location_name": "Pusat", "customer_name": "Pusat", "serial_number": "SN-00001", "shipper": "J&T Cashless", "due_date": 0, "b_salesorder_no": null, "shipment_type": null } ], "totalCount": 1 } ``` -------------------------------- ### Set Product to 'Master' from 'In Review' Source: https://docs.jubelio.com/ Sets products to the 'Master' menu from the 'In Review' status. ```APIDOC ## Set Product to 'Master' from 'In Review' ### Description Use this endpoint to push your products to 'Master' menu. ### Method POST ### Endpoint https://api.jubelio.com/inventory/catalog/set-master ### Headers - **authorization** (string, required): Authentication Token ### Request Body - **ids** (Array of numbers, required): Array of product IDs ### Request Example ```json { "ids": [ 5 ] } ``` ### Responses #### Success Response (200) Successful #### Error Response (500) Internal Server Error ### Response Example (200) ```json { "status": "ok" } ``` ``` -------------------------------- ### Get Invoice Source: https://docs.jubelio.com/ Retrieves a specific invoice by its ID. ```APIDOC ## GET /sales/invoices/{id} ### Description Retrieves a specific invoice using its unique ID. ### Method GET ### Endpoint https://api.jubelio.com/sales/invoices/{id} ### Parameters #### Path Parameters - **id** (number) - Required - Invoice ID #### Header Parameters - **authorization** (string) - Required - Authentication Token ### Responses #### Success Response (200) Successful #### Error Response (500) Internal Server Error ``` -------------------------------- ### Get List Item to Pick 响应示例 Source: https://docs.jubelio.com/ 这是一个200响应的示例,展示了要拣选的物品列表,包括销售订单ID、物品名称、数量等。 ```json [ { "salesorder_id": 12, "salesorder_detail_id": 82, "item_id": 2, "item_full_name": "BAR-1-PIN - Barang 1", "location_id": -1, "location_name": "Pusat", "qty_ordered": 1, "unit": "Buah", "salesorder_no": "SO-000000062", "bundle_item_id": 0, "end_qty": 6 } ] ``` -------------------------------- ### Get Product Stocks by IDs Response Sample Source: https://docs.jubelio.com/ This JSON response provides detailed stock information for products, including availability across different channels and locations. ```json { "channels": [ { "channel_name": "Lazada", "store_name": "lisa@dsadkf.com", "store_id": 38565, "channel_id": 4 } ], "locations": [ { "location_id": 1, "location_name": "Gudang Pusat" } ], "data": [ { "item_id": 8, "item_code": "EYE-KOS-NAR-WAN-PINK", "item_name": "Eyeshadow Kosmetik NARS Wanita", "item_group_id": 9, "is_bundle": false, "variation_values": [ { "label": "Warna", "value": "pink" } ], "brand_name": null, "average_cost": null, "location_stocks": [ { "item_id": 8, "location_id": 1, "location_code": 1, "on_hand": 243, "on_order": 0, "reserved": 0, "available": 243 } ], "total_stocks": { "on_hand": 243, "on_order": 0, "reserved": 0, "available": 243 }, "thumbnail": null } ] } ``` -------------------------------- ### Response Sample for GET /sales/orders/returned-list/ Source: https://docs.jubelio.com/ This is a sample JSON response for a successful retrieval of returned sales orders. It includes details such as customer information, invoice, and tracking numbers. ```json { "data": [ { "contact_id": 6, "invoice_id": 1123, "is_instant_courier": false, "picklist_id": 13324, "picklist_no": "PICK-000013324", "salesorder_id": 6, "salesorder_no": "SO-000000006", "invoice_no": "INV-000000222", "customer_name": "Pelanggan Umum", "transaction_date": "2018-10-20T17:00:00.000Z", "created_date": "2018-10-20T17:00:00.000Z", "channel_name": "Tokopedia", "store_name": "Toko Bahagia", "shipper": "J&T REG", "tracking_no": "JP2255122", "store_id": 1, "source": 64, "source_name": "SHOPEE", "store": null } ], "totalCount": 1 } ``` -------------------------------- ### Get All Sales Source: https://docs.jubelio.com/dist.yaml Retrieves a list of all sales records. ```APIDOC ## GET /sales/ ### Description Get All Sales. ### Method GET ### Endpoint /sales/ ### Response #### Success Response (200) - **data** (array) - List of sales records. - **message** (string) - Success message. - **status** (string) - Status of the operation. ``` -------------------------------- ### Stock Adjustment Response Sample (200 OK) Source: https://docs.jubelio.com/ Example of a successful response for a stock adjustment, showing initial balance details. ```json { "data": [ { "item_adj_id": -1, "item_adj_no": "_ADJ-BB_", "transaction_date": "2018-10-20T17:00:00.000Z", "created_date": "2018-10-20T17:00:00.000Z", "note": "Saldo Awal Persediaan", "is_opening_balance": true, "location_id": -1, "created_by": "Saldo Awal Persediaan", "location_name": "Pusat", "adjustment_type": null, "is_warehouse": true, "is_from_opname": false } ], "totalCount": 1 } ``` -------------------------------- ### Get All Stores Source: https://docs.jubelio.com/dist.yaml Retrieves a list of all available stores. ```APIDOC ## GET /marketplace/store/ ### Description Retrieves a list of all available stores. ### Method GET ### Endpoint /marketplace/store/ ### Parameters #### Query Parameters - **authorization** - (Refer to components/parameters/authorization) - **page** - (Refer to components/parameters/page) - **pageSize** - (Refer to components/parameters/pageSize) - **sortDirection** - (Refer to components/parameters/sortDirection) - **sortBy** - (Refer to components/parameters/sortBy) - **csv** - (Refer to components/parameters/csv) - **q** (string) - Optional - Filter Query - **createdSince** - (Refer to components/parameters/createdSince) ### Response #### Success Response (200) - **Response schema for getting all stores** ``` -------------------------------- ### Get Sales Return Setting Response Sample Source: https://docs.jubelio.com/ This JSON object shows the current sales return setting configuration. It indicates whether sales returns are enabled. ```json { "sales_return": "sales" } ``` -------------------------------- ### Get All Couriers Source: https://docs.jubelio.com/dist.yaml Retrieves a list of all available couriers. ```APIDOC ## GET /couriers ### Description Retrieves a list of all couriers. ### Method GET ### Endpoint /couriers ### Parameters #### Query Parameters - **authorization** (string) - Required - Authorization token ### Response #### Success Response (200) - **data** (array) - List of couriers ``` -------------------------------- ### Get Inventory Item by SKU Response Sample Source: https://docs.jubelio.com/ This is a sample JSON response for the get/inventory/items/by-sku/{sku} endpoint. It details the structure of an inventory item, including its properties, variations, pricing, and associated channel information. ```json { "item_group_id": 2, "item_group_name": "10.4 10W40", "description": "semi-synthetic lubricant for 4-stroke motorcycles that ensures", "notes": "semi-synthetic lubricant for 4-stroke motorcycles that ensures", "sell_tax_id": -1, "buy_tax_id": -1, "sales_acct_id": 28, "cogs_acct_id": 30, "invt_acct_id": 4, "sell_this": true, "buy_this": true, "stock_this": true, "dropship_this": false, "uom_id": -1, "sell_unit": "Botol", "buy_unit": "Botol", "is_active": true, "purch_acct_id": -1, "status": "null", "item_category_id": 454, "package_content": "Plastik and How to Use", "package_weight": 1000, "package_height": 29, "package_width": 49, "package_length": 39.5, "variations": [ { "label": "color_family", "values": [ "Black" ] } ], "sell_price": 3600000, "buy_price": 1500000, "last_modified": "2019-01-07T07:53:35.100Z", "brand_id": 11087, "rop": 10, "is_favourite": false, "use_single_image_set": false, "use_serial_number": true, "brand_name": "Mikoooo", "sell_tax_name": "No Tax", "buy_tax_name": "No Tax", "sales_acct_name": "4-4000 - Penjualan", "invt_acct_name": "1-1200 - Persediaan Barang", "cogs_acct_name": "5-5000 - Harga Pokok Penjualan (COGS)", "purch_acct_name": "5-5000 - Harga Pokok Penjualan (COGS)", "uom_name": "Buah", "product_skus": [ { "item_id": 2270, "item_code": "RIC-COO-MIY-RCM-PIN", "sell_price": 240000, "end_qty": 10, "average_cost": 240000, "amount": 240000, "barcode": null, "variation_values": [ { "label": "color_family", "value": "Black" } ], "prices": [ { "store_id": 125, "channel_id": 4, "sell_price": 260000 } ], "images": [ { "item_id": 1028, "image_id": 4, "cloud_key": "http://f.shopee.co.id/file/fde755988e7d8931bea57bdb3c8a64e6", "thumbnail": "http://f.shopee.co.id/file/fde755988e7d8931bea57bdb3c8a64e6", "file_name": "fde755988e7d8931bea57bdb3c8a64e6", "sequence_number": 0, "channel_info": [ { "image_url": "http://f.shopee.co.id/file/fde755988e7d8931bea57bdb3c8a64e6", "channel_id": 4 } ] } ] } ], "channels": [ { "channel_id": 4, "channel_name": "Lazada", "store_name": "Dreamcatcher", "store_id": 125, "extra_info": { "token": "8bf64619-ss21-8593-123-gjoeii2u82141", "clientName": "bma-lko-weq-17432", "merchantId": "DES-17432", "clientSecret": "dreamcatcher01212", "pickupPoints": [ { "code": "BTS-17265-009", "name": "PT Bersama", "updatedBy": "client", "createdDate": 1446835996000, "updatedDate": 1544427680388 } ], "refreshToken": "BTS-17265-009-BTS-17265-009-BTS-17265-009", "clientPassword": "pass121314", "merchantPassword": "pass121314", "merchantUserName": "dreamcatcher" }, "channel_full_name": "Lazada - Dreamcatcher", "attributes": [ { } ], "channel_url": "https://lazada.co.id", "channel_category_id": 14638, "sell_here": true, "channel_item_id": 1241241 } ], "min": 1, "max": 10, "selected_brand_name": "Miyako", "bom_id": null, "store_priority_qty_treshold": null, "created_date": "2019-01-07T07:53:35.100Z", "lead_time": null, "is_po": null, "use_batch_number": null, "bundles": [ { "bom_comp_id": 1, "item_code": "RIC-COO-MIY-RCM-PIN", "item_id": 1, "item_name": "Barang 1", "qty": 5, "thumbnail": "http://f.shopee.co.id/file/fde755988e7d8931bea57bdb3c8a64e6", "unit": null, "uom_id": -1 } ] } ``` -------------------------------- ### Upload Product Listing Source: https://docs.jubelio.com/dist.yaml Uploads your product listing to a marketplace. ```APIDOC ## POST /inventory/catalog/upload ### Description Uploads your product listing to a marketplace. ### Method POST ### Endpoint /inventory/catalog/upload ### Parameters #### Query Parameters - **authorization** (string) - Required - Bearer token for authentication ### Request Body - **schema** (object) - Required - The schema for uploading a product listing (`uploadProductListing`) ### Response #### Success Response (200) - **schema** (object) - The response schema for uploading a product listing #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /accounts/lookup/all Source: https://docs.jubelio.com/dist.yaml Retrieves account lookup information. ```APIDOC ## GET /accounts/lookup/all ### Description Get Account Lookup. ### Method GET ### Endpoint /accounts/lookup/all ### Responses #### Success Response (200) - **getAccountLookupResponse** (object) - Schema for the account lookup response. #### Error Response (500) - **internalServerError** (object) - Schema for internal server error response. ``` -------------------------------- ### Get All Purchase Orders Source: https://docs.jubelio.com/ Retrieves a list of all purchase orders. ```APIDOC ## Get All Purchase Orders ### Description Retrieves a list of all purchase orders. ### Method GET ### Endpoint /purchase/orders/ ### Query Parameters - **page** (number ) - Required - Page number. - **pageSize** (number ) - Required - Page Size. Max. page size is 200. - **sortDirection** (string) - Optional - Sort Direction [ASC/DESC]. Example: sortDirection=ASC - **sortBy** (string) - Optional - Sort By Field. Example: sortBy=Name - **csv** (string) - Optional - Get Response as CSV File. Example: csv=true - **q** (string) - Optional - Filter Query [Purchase Order Number/Supplier Name]. - **createdSince** (string ) - Optional - Filter by creation date since. ### Header Parameters - **authorization** (string) - Required - Authentication Token. Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTU0NjY345NjB9.KVt... ### Responses #### Success Response (200) Successful #### Error Response (500) Internal Server Error ``` -------------------------------- ### Upload Product Listing Source: https://docs.jubelio.com/dist.yaml Upload your product from Jubelio to the marketplace. ```APIDOC ## POST /inventory/catalog/upload ### Description Upload your product from Jubelio to the marketplace. Fill in the value as described in the schema and the values obtained from previous endpoints. ### Method POST ### Endpoint /inventory/catalog/upload ``` -------------------------------- ### JSON Response Sample for Inventory Items Reviews Source: https://docs.jubelio.com/ This is a sample JSON response for the 'Get All Review Product' endpoint. It details product information including item ID, name, variations, and online status across different channels. ```json { "data": [ { "item_group_id": 1931, "item_name": "Aegis Hospitality Brankas Digital Kecil Aegis Safe Deposit Box Hotel A2143 - Hitam", "last_modified": "2019-01-07T07:53:35.100Z", "variations": [ { "label": "color_family", "values": [ "Black" ] } ], "item_category_id": 690, "variants": [ { "item_group_id": 1931, "item_id": 2976, "item_code": "A2143", "end_qty": 10, "order_qty": 0, "item_name": "Aegis Hospitality Brankas Digital Kecil Aegis Safe Deposit Box Hotel A2143 - Hitam", "available_qty": 10, "sell_price": 3600000, "variation_values": [ { "label": "color_family", "value": "Black" } ], "is_bundle": false, "thumbnail": "https://jubelio.blob.core.windows.net/images/sng8ijwwqasgxnomjslrjw/4469a64e-8623-4a8d-9792-f777ff434e97_thumb.jpeg", "barcode": 128124871847, "tax_rate": 10, "store_names": [ { "store_name": "Lazada" } ] } ], "online_status": [ { "channel_id": 4, "store_id": 553, "store_name": "Lazada", "channel_group_id": 1931, "channel_url": "http://www.lazada.co.id/-i402292239-s443195538.html", "shop_id": 1 } ], "thumbnail": "https://jubelio.blob.core.windows.net/images/sng8ijwwqasgxnomjslrjw/4469a64e-8623-4a8d-9792-f777ff434e97_thumb.jpeg" } ], "totalCount": 1 } ``` -------------------------------- ### Get Sales Payments Source: https://docs.jubelio.com/dist.yaml Retrieves a list of sales payments. ```APIDOC ## GET /sales/payments ### Description Retrieves a list of sales payments. ### Method GET ### Endpoint /sales/payments ### Response #### Success Response (200) - **data** (array) - List Items that exists in System - **payment_id** (number) - Payment ID - **payment_no** (string) - Payment Number - **contact_id** (number) - Contact ID #### Response Example { "data": [ { "payment_id": 4, "payment_no": "CP-0000004", "contact_id": 1 } ] } ```