Contact Us

If you still have questions or prefer to get help directly please submit a request here.
We’ll get back to you as soon as possible.

  • Contact Us
  • Internal Login
Global English
US English (US)
EN Global English
  • Home
  • API
  • API: Deliveries
  • Support System (intserv)

    • System UI

      • Accounting

        • CRM

          • Sales

            • Purchasing

              • Product Management

                • Warehouse

                  • Manufacturing

                    • Project

                      • HR

                        • Settings (super-user specific)

                          • Ecommerce

                            • One Drive

                              • API

                                API: Deliveries

                                Table of Contents

                                Retrieve Deliveries Retrieve Delivery Lines
                                Written by: Antons Smolientsev, Updated on August 19th, 2024

                                The ERP API Deliveries endpoint provides a list of outgoing deliveries and their associated delivery lines' information from the Enapps ERP system. By default, this method returns 100 records per page. Additionally, it should be used in conjunction with the Delivery Lines API.

                                Base URL
                                https://<server>:<port>/api/v1
                                Endpoint /stock_pickings
                                Method

                                GET

                                Retrieve Deliveries

                                Request parameters

                                Name

                                Type

                                Required

                                Description
                                _id

                                integer

                                No

                                ID of a specific Stock Picking to obtain only 1 Delivery Note record.
                                partner_id

                                integer

                                Yes

                                ID of a partner obtained from Partners API response.
                                create_date

                                date_time

                                No

                                Filter records created from the specified date and later

                                (%Y-%m-%d %H:%M:%S)

                                order_id

                                integer

                                No

                                ID of a specific Sale Order
                                additional_fields

                                array/list

                                No

                                Provide field names of additional fields not part of the standard Endpoint. For more information please refer to Additional Fields 
                                page

                                integer

                                No

                                Optional pagination parameter.

                                Response parameters

                                Name

                                Type

                                Description
                                id

                                integer

                                Delivery unique ID
                                name

                                string

                                Picking Number
                                delivery_note_ref

                                string

                                Delivery Tracking number of other notes
                                delivery_date

                                date

                                Planned Dispatch Date or Dispatch date (%Y-%M-%D)
                                state

                                string

                                Stock Picking/Delivery state
                                move_lines

                                array

                                An array of IDs of Delivery Lines for each delivery (see “Retrieve Delivery Lines” endpoint below)

                                Examples

                                HTTP

                                GET /api/v1/stock_pickings HTTP/1.1
                                Host: my_company.erp.zone:4095
                                Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDkxMTgyMDgsInQiOiJhY2Nlc3MiLCJsIjoiZGVtb191c2VyIiwiZGIiOiJyb25fdGVzdCJ9.AJB36BPvV0QDIaXnSRpM15RS6hs04oGIBFkb7s5

                                WebKitFormBoundary7MA4YWxkTrZu0gW

                                ------WebKitFormBoundary7MA4YWxkTrZu0gW
                                Content-Disposition: form-data; name="order_id" 626747
                                ------WebKitFormBoundary7MA4YWxkTrZu0gW--

                                 

                                Retrieve Delivery Lines

                                The ERP API Delivery Lines endpoint provides a list of delivery lines and their associated information from the Enapps ERP system for a specific delivery. By default, this method returns 100 records per page.

                                Endpoint /stock_moves  
                                Method

                                GET

                                 

                                Request parameters

                                Name

                                Type

                                Required

                                Description
                                picking_id

                                integer

                                Yes

                                ID of a specific delivery.
                                page

                                integer

                                No

                                Optional pagination parameter.
                                additional_fields

                                array/list

                                No

                                Provide field names of additional fields not part of the standard Endpoint. For more information please refer to Additional Fields 

                                Response params

                                Name

                                Type

                                Description
                                id

                                integer

                                Delivery Line unique ID
                                name

                                string

                                Product reference and full name 
                                product_id

                                integer

                                Product ID
                                original_qty

                                numeric

                                Ordered product quantity
                                product_qty

                                numeric

                                Delivered/Planned quantity

                                Examples

                                HTTP

                                GET /api/v1/stock_moves/ HTTP/1.1
                                Host: my_company.erp.zone:4095
                                Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDkxMTgyMDgsInQiOiJhY2Nlc3MiLCJsIjoiZGVtb191c2VyIiwiZGIiOiJyb25fdGVzdCJ9.AJB36BPvV0QDIaXRpM15RS6hs04oGIBFkb7s5Kg

                                ------WebKitFormBoundary7MA4YWxkTrZu0gW
                                Content-Disposition: form-data; name="picking_id" 377140
                                ------WebKitFormBoundary7MA4YWxkTrZu0gW--

                                Was this article helpful?

                                Yes
                                No
                                Give feedback about this article

                                Related Articles

                                • API: Products
                                • API: Partners
                                • API: Contacts
                                • API: General Technical Overview
                                Expand