Commerce

Base.com

19min
with base com modules in make, you can manage the orders, invoices, payments, and packages in your base com account to use the base com modules, you must have a base com account you can create an account at base com connect base com to make to establish the connection, you must base com docid\ zgtekhytokiqrnrwtokai base com docid\ zgtekhytokiqrnrwtokai obtain your api key in base com to obtain your api key from your base com account log in to your base com account click your profile icon > my account > api enter a name for the api and click generate token copy the api key value shown and store it in a safe place you will use this value in the api key field in make establish the connection with base com in make to establish the connection in make log in to your make account, add a base com module to your {{scenario singular lowercase}} , and click create a connection optional in the connection name field, enter a name for the connection in the api key field, enter the api key copied above click save if prompted, authenticate your account and confirm access you have successfully established the connection you can now edit your {{scenario singular lowercase}} and add more base com modules if your connection requires reauthorization at any point, follow the connection renewal steps here https //www make com/en/help/connections/connecting to services html orders watch new orders triggers when a new order has been added connection base com docid\ zgtekhytokiqrnrwtokai limit set the maximum number of new orders make should return during one execution cycle search orders searches for orders or lists them all connection base com docid\ zgtekhytokiqrnrwtokai date confirmed from enter (map) the date to search the orders that were confirmed on or after the specified date date from enter (map) the date to search the order from the specified date order id from select or map the order id whose details you want to search get unconfirmed orders select whether you want to search for the unconfirmed orders status id select or map the status id to list the orders with the specified status filter by email enter (map) the email address to list the orders that match the specified email address limit set the maximum number of orders make should return during one execution cycle get an order retrieves a single order specified by id connection base com docid\ zgtekhytokiqrnrwtokai order id select or map the order id whose details you want to retrieve create an order creates a new order connection base com docid\ zgtekhytokiqrnrwtokai order status id select or map the status of the order phone enter (map) the customer's phone number email enter (map) the customer's email address date add enter (map) the date on which the order is being created user comments enter (map) the notes for the order admin comments enter (map) the admin notes for the order currency select or map the currency code applicable for the order payment method enter (map) the payment method for the order payment method code select whether the payment method code is cash on delivery (payment on delivery) paid select whether the order is already paid delivery method enter (map) the delivery method of the order delivery price enter (map) the charges for the delivery of the order delivery full name enter (map) the contact person's full name to mention in the delivery address delivery company enter (map) the company name to mention in the delivery address delivery address enter (map) the order's delivery address delivery city enter (map) the city name to mention in the delivery address delivery postal code enter (map) the delivery address postal code delivery point id enter (map) the delivery pickup point id delivery point name enter (map) the delivery pickup point name delivery point address enter (map) the delivery pickup point address delivery point postcode enter (map) the delivery pickup point postal code delivery point city enter (map) the delivery pickup point city name invoice full name enter (map) the billing address contact person's full name invoice company enter (map) the billing address company name invoice nip enter (map) the billing address company's vat or tax number invoice address enter (map) the billing address invoice city enter (map) the billing address city name invoice country code select or map the billing address country code want invoice select whether the customer wants the invoice copy extra field 1 enter (map) any additional fields you want to add extra field 2 enter (map) any additional fields you want to add products add the products to the order storage select or map the product storage base com database web shop connected wholesaler\ storage id select or map the storage id product id select or map the product id variant id enter (map) the product variant id leave the field if the product variant is unknown name enter (map) the product name sku enter (map) the product's sku number ean enter (map) the product's ean number price brutto enter (map) single item gross price tax rate enter (map) the product's vat rate quantity enter (map) the number of pieces of the product weight enter (map) the single item weight in grams invoices and payments watch new series triggers when a new invoice numeration series have been added connection base com docid\ zgtekhytokiqrnrwtokai limit set the maximum number of series make should return during one execution cycle search invoices searches for invoices or lists them all connection base com docid\ zgtekhytokiqrnrwtokai invoice id select or map the invoice id whose details you want to search invoice id from select or map the option to search the invoices collected from the specified option date from select or map the date to search the invoices collected from the specified date order id select or map the order id whose invoices you want to search get external invoices select whether you want to get the external invoices series id select or map the series id number to search the invoices with the specified id limit set the maximum number of invoices make should return during one execution cycle add an invoice to an order adds an invoice to an order specified by id connection base com docid\ zgtekhytokiqrnrwtokai order id select or map the order id to which you want to add the invoice series id select or map the series id of the invoice you want to add add a payment to an order adds a payment to an order specified by id connection base com docid\ zgtekhytokiqrnrwtokai order id select or map the order id to which you want to add the payment information payment done enter (map) the payment deposit amount the value replaces the current payment in the order (it is not added up with the previous value) if the amount matches the order value, the order will be marked as paid payment date enter (map) the date on which the payment for the invoice is made payment comment enter (map) any additional information or notes about the payment packages list packages lists all order packages connection base com docid\ zgtekhytokiqrnrwtokai order id select or map the order id whose packages you want to list limit set the maximum number of packages make should return during one execution cycle create a package creates a new package connection base com docid\ zgtekhytokiqrnrwtokai order id select or map the order id for which you want to create the package courier code select or map the courier service through the package is being sent and enter the fields that auto populate based on your selection packages add the package details weight enter (map) the weight of the package in centimeters length enter (map) the length of the package in centimeters height enter (map) the height of the package in centimeters width enter (map) the width of the package in centimeters delete a package deletes a package connection base com docid\ zgtekhytokiqrnrwtokai courier code select or map the order id whose packages you want to delete order id select or map the order whose package you want to delete select package by select or map the options to choose the package you want to delete package id package number package id select or map the package id you want to delete package number select or map the package number you want to delete force delete select whether you want to remove the parcel from the base com database in case of an error with the removal of the parcel in the courier api other make an api call performs an arbitrary authorized api call connection base com docid\ zgtekhytokiqrnrwtokai method enter the method you want to call for example getorders for the list of available endpoints, refer to the base com api documentation headers enter the desired request headers you don't have to add authorization headers; we already did that for you parameters enter (map) the parameters you want to retrieve query string enter the request query string example of use get invoices the following api call returns all the invoices from your base com account method getinvoices matches of the search can be found in the module's output under bundle > body > invoices in our example, 2 invoices were returned