SOS Inventory

App · 28 actions

Manage items, customers, vendors, sales and purchase orders, and read invoices and shipments.

Actions

ActionWhat it does
Create customerAdd a customer.
Create itemAdd an item: a product, a service or anything else to track.
Create purchase orderCreate a purchase order to a vendor with one item line.
Create sales orderCreate a sales order for a customer with one item line.
Create vendorAdd a vendor.
Delete customerDelete a customer.
Delete itemDelete a item.
Delete purchase orderDelete a purchase order.
Delete sales orderDelete a sales order.
Delete vendorDelete a vendor.
Get customerGet one customer.
Get invoiceGet one invoice with its lines and totals.
Get itemGet one item.
Get purchase orderGet one purchase order.
Get sales orderGet one sales order.
Get shipmentGet one shipment with its lines and tracking link.
Get vendorGet one vendor.
List customersList customers, searched by name, email or text.
List invoicesList invoices, filtered by status, date or text.
List itemsList the items SOS Inventory tracks, with stock on hand, available and on order.
List locationsList the warehouses and other places stock is kept.
List purchase ordersList purchase orders, filtered by status, date or text.
List sales ordersList sales orders, filtered by status, date, location, channel or text.
List shipmentsList shipments, filtered by customer, location, date or text.
List vendorsList the vendors items are bought from.
Update customerChange a customer's details.
Update itemChange an item's details.
Update sales orderChange a sales order's comment, messages or customer PO, or close it.

Create customer

Add a customer.

Inputs

NamenametextRequired
The name the customer is looked up by.
Company namecompany_nametext
The customer's company name.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Contact first namecontact_first_nametext
The first name of the person to contact.
Contact last namecontact_last_nametext
The last name of the person to contact.
Notesnotestext
Internal notes about the customer.
Credit holdcredit_holdtrue/false
Whether the customer is on credit hold.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "altAddresses": [
      {}
    ],
    "altPhone": "example",
    "archived": true,
    "billWithParent": true,
    "billing": {},
    "businessLicense": "example",
    "companyName": "example",
    "contact": {},
    "contractorNumber": "example",
    "creditHold": true,
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customerType": {
      "id": 1,
      "name": "example"
    },
    "email": "example",
    "fax": "example",
    "foundUsVia": "example",
    "fullname": "example",
    "hasChildren": true,
    "id": 1,
    "name": "example",
    "notes": "example",
    "parent": {
      "id": 1,
      "name": "example"
    },
    "paymentMethod": {
      "id": 1,
      "name": "example"
    },
    "phone": "example",
    "priceTier": {
      "id": 1,
      "name": "example"
    },
    "resaleNumber": "example",
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "starred": 1,
    "sublevel": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "tax": {},
    "taxExemptReasonId": "example",
    "terms": {
      "id": 1,
      "name": "example"
    }
  }
}

Create item

Add an item: a product, a service or anything else to track.

Inputs

NamenametextRequired
The item's name, unique in its category.
Descriptiondescriptiontext
The item's description on sales forms.
SKUskutext
The item's stock keeping unit.
Typetypetext
The kind of item, such as Inventory Item, Non-inventory Item or Service.
Barcodebarcodetext
The digits of the item's barcode.
Sales pricebase_sales_pricenumber
The price the item sells for.At least 0.
Purchase costbase_purchase_costnumber
What the item costs to buy.At least 0.
Reorder pointreorder_pointnumber
The stock level at which to reorder.At least 0.
Categorycategorytext
The name of the item's category.
Vendorvendor_idnumber
The vendor the item is bought from.
Tagstagstext
Tags, separated by commas.
Notesnotestext
Notes about the item.
Taxabletaxabletrue/false
Whether the item is taxable.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "alwaysShippable": true,
    "archived": true,
    "assetAccount": {
      "id": 1,
      "name": "example"
    },
    "available": 1,
    "barcode": "example",
    "basePurchaseCost": 1,
    "baseSalesPrice": 1,
    "bin": {
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "class": {
      "id": 1,
      "name": "example"
    },
    "cogsAccount": {
      "id": 1,
      "name": "example"
    },
    "commissionAmount": 1,
    "commissionExempt": true,
    "commissionRate": 1,
    "costBasis": 1,
    "customFields": [
      {}
    ],
    "customerPartNumber": "example",
    "description": "example",
    "expenseAccount": {
      "id": 1,
      "name": "example"
    },
    "fullname": "example",
    "hasImage": true,
    "id": 1,
    "incomeAccount": {
      "id": 1,
      "name": "example"
    },
    "leadTime": 1,
    "lotTracking": true,
    "markupPercent": 1,
    "maxStock": 1,
    "minimumPrice": 1,
    "name": "example",
    "notes": "example",
    "onPO": 1,
    "onRMA": 1,
    "onSO": 1,
    "onSR": 1,
    "onWO": 1,
    "onhand": 1,
    "priceTiers": [
      {}
    ],
    "purchaseCost": 1,
    "purchaseDescription": "example",
    "purchaseTaxCode": {
      "id": 1,
      "name": "example"
    },
    "rented": 1,
    "reorderPoint": 1,
    "salesPrice": 1,
    "salesTaxCode": {
      "id": 1,
      "name": "example"
    },
    "serialTracking": true,
    "showOnManufacturingForms": true,
    "showOnPurchasingForms": true,
    "showOnSalesForms": true,
    "sku": "example",
    "starred": 1,
    "sublevel": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "tags": "example",
    "taxable": true,
    "type": "example",
    "uoms": [
      {}
    ],
    "updateBigCommerce": true,
    "updateShopify": true,
    "url": "example",
    "useMarkup": true,
    "vendor": {
      "id": 1,
      "name": "example"
    },
    "vendorPartNumber": "example",
    "volume": 1,
    "warranty": "example",
    "weight": 1,
    "willSync": true
  }
}

Create purchase order

Create a purchase order to a vendor with one item line.

Inputs

Vendorvendor_idnumberRequired
The vendor to buy from.
Itemitem_idnumberRequired
The item bought.
QuantityquantitynumberRequired
How many.At least 0.
Unit priceunit_pricenumber
The price of one.At least 0.
Line descriptionline_descriptiontext
A description for the line.
Numbernumbertext
The order number. SOS Inventory numbers it when left empty.
Datedatedate and time
The order's date. Today when left empty.
Locationlocationtext
The name of the location the order is filled from.
Commentcommenttext
An internal comment, not shown to the other party.
Expectedexpected_datedate and time
When the goods are expected.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "assignedToUser": {
      "id": 1,
      "name": "example"
    },
    "billing": {},
    "blanketPO": true,
    "closed": true,
    "comment": "example",
    "confirmed": true,
    "contractManufacturing": true,
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "depositAmount": 1,
    "depositPercent": 1,
    "dropShip": true,
    "exchangeRate": 1,
    "expectedDate": "example",
    "expectedShip": "example",
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "amount": 1,
        "bin": {},
        "class": {},
        "customer": {},
        "description": "example",
        "id": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "lot": {},
        "lotExpiration": "example",
        "quantity": 1,
        "received": 1,
        "serials": [
          {}
        ],
        "tax": {},
        "unitPrice": 1,
        "uom": {},
        "vendorPartNumber": "example",
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "linkedTransaction": {},
    "location": {
      "id": 1,
      "name": "example"
    },
    "number": "example",
    "pendingApproval": true,
    "shipping": {},
    "shippingMethod": {
      "id": 1,
      "name": "example"
    },
    "starred": 1,
    "subTotal": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxAmount": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "terms": {
      "id": 1,
      "name": "example"
    },
    "total": 1,
    "vendor": {
      "id": 1,
      "name": "example"
    },
    "vendorMessage": "example",
    "vendorNotes": "example"
  }
}

Create sales order

Create a sales order for a customer with one item line.

Inputs

Customercustomer_idnumberRequired
The customer ordering.
Itemitem_idnumberRequired
The item sold.
QuantityquantitynumberRequired
How many.At least 0.
Unit priceunit_pricenumber
The price of one.At least 0.
Line descriptionline_descriptiontext
A description for the line.
Numbernumbertext
The order number. SOS Inventory numbers it when left empty.
Datedatedate and time
The order's date. Today when left empty.
Locationlocationtext
The name of the location the order is filled from.
Commentcommenttext
An internal comment, not shown to the other party.
Customer POcustomer_potext
The customer's purchase order number.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "assignedToUser": {
      "id": 1,
      "name": "example"
    },
    "billing": {},
    "channel": {
      "id": 1,
      "name": "example"
    },
    "closed": true,
    "comment": "example",
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customer": {
      "id": 1,
      "name": "example"
    },
    "customerMessage": "example",
    "customerNotes": "example",
    "customerPO": "example",
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "depositAmount": 1,
    "depositPercent": 1,
    "discountAmount": 1,
    "discountPercent": 1,
    "discountTaxable": true,
    "dropship": true,
    "exchangeRate": 1,
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "altAmount": "example",
        "amount": 1,
        "bin": {},
        "class": {},
        "cost": 1,
        "description": "example",
        "dueDate": "example",
        "id": 1,
        "invoiced": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "listPrice": 1,
        "lot": {},
        "margin": 1,
        "percentDiscount": 1,
        "picked": 1,
        "produced": "example",
        "quantity": 1,
        "returned": "example",
        "serials": [
          {}
        ],
        "shipped": 1,
        "tax": {},
        "unitPrice": 1,
        "uom": {},
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "linkedTransaction": {},
    "location": {
      "id": 1,
      "name": "example"
    },
    "number": "example",
    "orderStage": {
      "id": 1,
      "name": "example"
    },
    "priority": {
      "id": 1,
      "name": "example"
    },
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "shippingAmount": 1,
    "shippingTaxable": true,
    "starred": 1,
    "statusLink": "example",
    "statusMessage": "example",
    "subtotal": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxAmount": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "taxPercent": 1,
    "terms": {
      "id": 1,
      "name": "example"
    },
    "total": 1
  }
}

Create vendor

Add a vendor.

Inputs

NamenametextRequired
The name the vendor is looked up by.
Company namecompany_nametext
The vendor's company name.
Emailemailtext
The vendor's email address.
Phonephonetext
The vendor's phone number.
Account numberaccount_numbertext
Your account number with the vendor.
Notesnotestext
Notes about the vendor.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "accountNumber": "example",
    "address": {},
    "altAddresses": [
      {}
    ],
    "altPhone": "example",
    "archived": true,
    "companyName": "example",
    "contact": {},
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "email": "example",
    "fax": "example",
    "id": 1,
    "mobile": "example",
    "name": "example",
    "notes": "example",
    "phone": "example",
    "showOnForms": true,
    "starred": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "terms": {
      "id": 1,
      "name": "example"
    }
  }
}

Delete customer

Delete a customer.

Inputs

Customercustomer_idnumberRequired
The customer's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "message": "example",
    "status": "example"
  }
}

Delete item

Delete a item.

Inputs

Itemitem_idnumberRequired
The item's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "message": "example",
    "status": "example"
  }
}

Delete purchase order

Delete a purchase order.

Inputs

Purchase orderpurchase_order_idnumberRequired
The purchase order's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "message": "example",
    "status": "example"
  }
}

Delete sales order

Delete a sales order.

Inputs

Sales ordersales_order_idnumberRequired
The sales order's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "message": "example",
    "status": "example"
  }
}

Delete vendor

Delete a vendor.

Inputs

Vendorvendor_idnumberRequired
The vendor's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "message": "example",
    "status": "example"
  }
}

Get customer

Get one customer.

Inputs

Customercustomer_idnumberRequired
The customer's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "altAddresses": [
      {}
    ],
    "altPhone": "example",
    "archived": true,
    "billWithParent": true,
    "billing": {},
    "businessLicense": "example",
    "companyName": "example",
    "contact": {},
    "contractorNumber": "example",
    "creditHold": true,
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customerType": {
      "id": 1,
      "name": "example"
    },
    "email": "example",
    "fax": "example",
    "foundUsVia": "example",
    "fullname": "example",
    "hasChildren": true,
    "id": 1,
    "name": "example",
    "notes": "example",
    "parent": {
      "id": 1,
      "name": "example"
    },
    "paymentMethod": {
      "id": 1,
      "name": "example"
    },
    "phone": "example",
    "priceTier": {
      "id": 1,
      "name": "example"
    },
    "resaleNumber": "example",
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "starred": 1,
    "sublevel": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "tax": {},
    "taxExemptReasonId": "example",
    "terms": {
      "id": 1,
      "name": "example"
    }
  }
}

Get invoice

Get one invoice with its lines and totals.

Inputs

Invoiceinvoice_idnumberRequired
The invoice's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "billing": {},
    "channel": {
      "id": 1,
      "name": "example"
    },
    "closed": true,
    "comment": "example",
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customer": {
      "id": 1,
      "name": "example"
    },
    "customerMessage": "example",
    "customerNotes": "example",
    "customerPO": "example",
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "depositAmount": 1,
    "depositPercent": 1,
    "discountAmount": 1,
    "discountPercent": 1,
    "discountTaxable": true,
    "dropship": true,
    "dueDate": "example",
    "exchangeRate": 1,
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "amount": 1,
        "class": {},
        "cost": 1,
        "description": "example",
        "id": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "listprice": 1,
        "margin": 1,
        "percentdiscount": 1,
        "quantity": 1,
        "tax": {},
        "unitprice": 1,
        "uom": {},
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "number": "example",
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipDate": "example",
    "shipMethod": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "shippingAmount": 1,
    "shippingTaxable": true,
    "starred": 1,
    "statusLink": "example",
    "subTotal": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxAmount": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "taxPercent": 1,
    "terms": {
      "id": 1,
      "name": "example"
    },
    "total": 1,
    "trackingNumber": "example"
  }
}

Get item

Get one item.

Inputs

Itemitem_idnumberRequired
The item's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "alwaysShippable": true,
    "archived": true,
    "assetAccount": {
      "id": 1,
      "name": "example"
    },
    "available": 1,
    "barcode": "example",
    "basePurchaseCost": 1,
    "baseSalesPrice": 1,
    "bin": {
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "class": {
      "id": 1,
      "name": "example"
    },
    "cogsAccount": {
      "id": 1,
      "name": "example"
    },
    "commissionAmount": 1,
    "commissionExempt": true,
    "commissionRate": 1,
    "costBasis": 1,
    "customFields": [
      {}
    ],
    "customerPartNumber": "example",
    "description": "example",
    "expenseAccount": {
      "id": 1,
      "name": "example"
    },
    "fullname": "example",
    "hasImage": true,
    "id": 1,
    "incomeAccount": {
      "id": 1,
      "name": "example"
    },
    "leadTime": 1,
    "lotTracking": true,
    "markupPercent": 1,
    "maxStock": 1,
    "minimumPrice": 1,
    "name": "example",
    "notes": "example",
    "onPO": 1,
    "onRMA": 1,
    "onSO": 1,
    "onSR": 1,
    "onWO": 1,
    "onhand": 1,
    "priceTiers": [
      {}
    ],
    "purchaseCost": 1,
    "purchaseDescription": "example",
    "purchaseTaxCode": {
      "id": 1,
      "name": "example"
    },
    "rented": 1,
    "reorderPoint": 1,
    "salesPrice": 1,
    "salesTaxCode": {
      "id": 1,
      "name": "example"
    },
    "serialTracking": true,
    "showOnManufacturingForms": true,
    "showOnPurchasingForms": true,
    "showOnSalesForms": true,
    "sku": "example",
    "starred": 1,
    "sublevel": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "tags": "example",
    "taxable": true,
    "type": "example",
    "uoms": [
      {}
    ],
    "updateBigCommerce": true,
    "updateShopify": true,
    "url": "example",
    "useMarkup": true,
    "vendor": {
      "id": 1,
      "name": "example"
    },
    "vendorPartNumber": "example",
    "volume": 1,
    "warranty": "example",
    "weight": 1,
    "willSync": true
  }
}

Get purchase order

Get one purchase order.

Inputs

Purchase orderpurchase_order_idnumberRequired
The purchase order's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "assignedToUser": {
      "id": 1,
      "name": "example"
    },
    "billing": {},
    "blanketPO": true,
    "closed": true,
    "comment": "example",
    "confirmed": true,
    "contractManufacturing": true,
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "depositAmount": 1,
    "depositPercent": 1,
    "dropShip": true,
    "exchangeRate": 1,
    "expectedDate": "example",
    "expectedShip": "example",
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "amount": 1,
        "bin": {},
        "class": {},
        "customer": {},
        "description": "example",
        "id": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "lot": {},
        "lotExpiration": "example",
        "quantity": 1,
        "received": 1,
        "serials": [
          {}
        ],
        "tax": {},
        "unitPrice": 1,
        "uom": {},
        "vendorPartNumber": "example",
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "linkedTransaction": {},
    "location": {
      "id": 1,
      "name": "example"
    },
    "number": "example",
    "pendingApproval": true,
    "shipping": {},
    "shippingMethod": {
      "id": 1,
      "name": "example"
    },
    "starred": 1,
    "subTotal": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxAmount": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "terms": {
      "id": 1,
      "name": "example"
    },
    "total": 1,
    "vendor": {
      "id": 1,
      "name": "example"
    },
    "vendorMessage": "example",
    "vendorNotes": "example"
  }
}

Get sales order

Get one sales order.

Inputs

Sales ordersales_order_idnumberRequired
The sales order's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "assignedToUser": {
      "id": 1,
      "name": "example"
    },
    "billing": {},
    "channel": {
      "id": 1,
      "name": "example"
    },
    "closed": true,
    "comment": "example",
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customer": {
      "id": 1,
      "name": "example"
    },
    "customerMessage": "example",
    "customerNotes": "example",
    "customerPO": "example",
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "depositAmount": 1,
    "depositPercent": 1,
    "discountAmount": 1,
    "discountPercent": 1,
    "discountTaxable": true,
    "dropship": true,
    "exchangeRate": 1,
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "altAmount": "example",
        "amount": 1,
        "bin": {},
        "class": {},
        "cost": 1,
        "description": "example",
        "dueDate": "example",
        "id": 1,
        "invoiced": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "listPrice": 1,
        "lot": {},
        "margin": 1,
        "percentDiscount": 1,
        "picked": 1,
        "produced": "example",
        "quantity": 1,
        "returned": "example",
        "serials": [
          {}
        ],
        "shipped": 1,
        "tax": {},
        "unitPrice": 1,
        "uom": {},
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "linkedTransaction": {},
    "location": {
      "id": 1,
      "name": "example"
    },
    "number": "example",
    "orderStage": {
      "id": 1,
      "name": "example"
    },
    "priority": {
      "id": 1,
      "name": "example"
    },
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "shippingAmount": 1,
    "shippingTaxable": true,
    "starred": 1,
    "statusLink": "example",
    "statusMessage": "example",
    "subtotal": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxAmount": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "taxPercent": 1,
    "terms": {
      "id": 1,
      "name": "example"
    },
    "total": 1
  }
}

Get shipment

Get one shipment with its lines and tracking link.

Inputs

Shipmentshipment_idnumberRequired
The shipment's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "assignedToUser": {
      "id": 1,
      "name": "example"
    },
    "billing": {},
    "channel": {
      "id": 1,
      "name": "example"
    },
    "comment": "example",
    "createBillForShippingAmount": true,
    "customFields": [
      {}
    ],
    "customer": {
      "id": 1,
      "name": "example"
    },
    "customerMessage": "example",
    "customerNotes": "example",
    "customerPO": "example",
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "forceToShipStation": true,
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "altAmount": "example",
        "amount": "example",
        "bin": {},
        "class": {},
        "cost": "example",
        "description": "example",
        "dueDate": "example",
        "id": 1,
        "invoiced": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "listPrice": "example",
        "lot": {},
        "margin": "example",
        "percentDiscount": "example",
        "picked": "example",
        "produced": "example",
        "quantity": 1,
        "returned": "example",
        "serials": [
          {}
        ],
        "shipped": "example",
        "tax": "example",
        "unitPrice": "example",
        "uom": {},
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "linkedTransaction": "example",
    "location": {
      "id": 1,
      "name": "example"
    },
    "number": "example",
    "orderStage": "example",
    "priority": {
      "id": 1,
      "name": "example"
    },
    "shipBy": "example",
    "shipping": {},
    "shippingAmount": 1,
    "shippingMethod": {
      "id": 1,
      "name": "example"
    },
    "starred": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxCode": "example",
    "total": "example",
    "trackingLink": "example"
  }
}

Get vendor

Get one vendor.

Inputs

Vendorvendor_idnumberRequired
The vendor's ID.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "accountNumber": "example",
    "address": {},
    "altAddresses": [
      {}
    ],
    "altPhone": "example",
    "archived": true,
    "companyName": "example",
    "contact": {},
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "email": "example",
    "fax": "example",
    "id": 1,
    "mobile": "example",
    "name": "example",
    "notes": "example",
    "phone": "example",
    "showOnForms": true,
    "starred": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "terms": {
      "id": 1,
      "name": "example"
    }
  }
}

List customers

List customers, searched by name, email or text.

Inputs

Searchquerytext
Only records matching this text in name or notes.
Namenametext
Only customers whose name matches this.
Emailemailtext
Only customers with this email address.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "altAddresses": [
          {}
        ],
        "altPhone": "example",
        "archived": true,
        "billWithParent": true,
        "billing": {},
        "businessLicense": "example",
        "companyName": "example",
        "contact": {},
        "contractorNumber": "example",
        "creditHold": true,
        "currency": {
          "id": 1,
          "name": "example"
        },
        "customFields": [
          {}
        ],
        "customerType": {
          "id": 1,
          "name": "example"
        },
        "email": "example",
        "fax": "example",
        "foundUsVia": "example",
        "fullname": "example",
        "hasChildren": true,
        "id": 1,
        "name": "example",
        "notes": "example",
        "parent": {
          "id": 1,
          "name": "example"
        },
        "paymentMethod": {
          "id": 1,
          "name": "example"
        },
        "phone": "example",
        "priceTier": {
          "id": 1,
          "name": "example"
        },
        "resaleNumber": "example",
        "salesRep": {
          "id": 1,
          "name": "example"
        },
        "shipping": {},
        "starred": 1,
        "sublevel": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "tax": {},
        "taxExemptReasonId": "example",
        "terms": {
          "id": 1,
          "name": "example"
        }
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List invoices

List invoices, filtered by status, date or text.

Inputs

Statusstatustext
Only open or only closed invoices.One of: open, closed.
Fromdate_fromdate and time
Only invoices dated at or after this time.
Todate_todate and time
Only invoices dated at or before this time.
Searchquerytext
Only records matching this text in number, comment or customer PO.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "archived": true,
        "billing": {},
        "channel": {
          "id": 1,
          "name": "example"
        },
        "closed": true,
        "comment": "example",
        "currency": {
          "id": 1,
          "name": "example"
        },
        "customFields": [
          {}
        ],
        "customer": {
          "id": 1,
          "name": "example"
        },
        "customerMessage": "example",
        "customerNotes": "example",
        "customerPO": "example",
        "date": "example",
        "department": {
          "id": 1,
          "name": "example"
        },
        "depositAmount": 1,
        "depositPercent": 1,
        "discountAmount": 1,
        "discountPercent": 1,
        "discountTaxable": true,
        "dropship": true,
        "dueDate": "example",
        "exchangeRate": 1,
        "hasSignature": "example",
        "id": 1,
        "lines": [
          {
            "amount": 1,
            "class": {},
            "cost": 1,
            "description": "example",
            "id": 1,
            "item": {},
            "job": {},
            "lineNumber": 1,
            "linkedTransaction": {},
            "listprice": 1,
            "margin": 1,
            "percentdiscount": 1,
            "quantity": 1,
            "tax": {},
            "unitprice": 1,
            "uom": {},
            "volume": 1,
            "volumeunit": "example",
            "weight": 1,
            "weightunit": "example",
            "workcenter": {}
          }
        ],
        "number": "example",
        "salesRep": {
          "id": 1,
          "name": "example"
        },
        "shipDate": "example",
        "shipMethod": {
          "id": 1,
          "name": "example"
        },
        "shipping": {},
        "shippingAmount": 1,
        "shippingTaxable": true,
        "starred": 1,
        "statusLink": "example",
        "subTotal": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "taxAmount": 1,
        "taxCode": {
          "id": 1,
          "name": "example"
        },
        "taxPercent": 1,
        "terms": {
          "id": 1,
          "name": "example"
        },
        "total": 1,
        "trackingNumber": "example"
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List items

List the items SOS Inventory tracks, with stock on hand, available and on order.

Inputs

Searchquerytext
Only records matching this text in name, description, notes or barcode.
SKUskutext
Only the item with this SKU.
Typetypetext
Only items of this type, such as Inventory Item.
Categorycategorytext
Only items in the category with this name.
Locationlocationtext
Show stock at the location with this name.
Tagstagstext
Only items with these tags, separated by commas.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "alwaysShippable": true,
        "archived": true,
        "assetAccount": {
          "id": 1,
          "name": "example"
        },
        "available": 1,
        "barcode": "example",
        "basePurchaseCost": 1,
        "baseSalesPrice": 1,
        "bin": {
          "id": 1,
          "name": "example"
        },
        "category": {
          "id": 1,
          "name": "example"
        },
        "class": {
          "id": 1,
          "name": "example"
        },
        "cogsAccount": {
          "id": 1,
          "name": "example"
        },
        "commissionAmount": 1,
        "commissionExempt": true,
        "commissionRate": 1,
        "costBasis": 1,
        "customFields": [
          {}
        ],
        "customerPartNumber": "example",
        "description": "example",
        "expenseAccount": {
          "id": 1,
          "name": "example"
        },
        "fullname": "example",
        "hasImage": true,
        "id": 1,
        "incomeAccount": {
          "id": 1,
          "name": "example"
        },
        "leadTime": 1,
        "lotTracking": true,
        "markupPercent": 1,
        "maxStock": 1,
        "minimumPrice": 1,
        "name": "example",
        "notes": "example",
        "onPO": 1,
        "onRMA": 1,
        "onSO": 1,
        "onSR": 1,
        "onWO": 1,
        "onhand": 1,
        "priceTiers": [
          {}
        ],
        "purchaseCost": 1,
        "purchaseDescription": "example",
        "purchaseTaxCode": {
          "id": 1,
          "name": "example"
        },
        "rented": 1,
        "reorderPoint": 1,
        "salesPrice": 1,
        "salesTaxCode": {
          "id": 1,
          "name": "example"
        },
        "serialTracking": true,
        "showOnManufacturingForms": true,
        "showOnPurchasingForms": true,
        "showOnSalesForms": true,
        "sku": "example",
        "starred": 1,
        "sublevel": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "tags": "example",
        "taxable": true,
        "type": "example",
        "uoms": [
          {}
        ],
        "updateBigCommerce": true,
        "updateShopify": true,
        "url": "example",
        "useMarkup": true,
        "vendor": {
          "id": 1,
          "name": "example"
        },
        "vendorPartNumber": "example",
        "volume": 1,
        "warranty": "example",
        "weight": 1,
        "willSync": true
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List locations

List the warehouses and other places stock is kept.

Inputs

Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List purchase orders

List purchase orders, filtered by status, date or text.

Inputs

Statusstatustext
Only open or only closed purchase orders.One of: open, closed.
Fromdate_fromdate and time
Only purchase orders dated at or after this time.
Todate_todate and time
Only purchase orders dated at or before this time.
Searchquerytext
Only records matching this text in number or comment.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "archived": true,
        "assignedToUser": {
          "id": 1,
          "name": "example"
        },
        "billing": {},
        "blanketPO": true,
        "closed": true,
        "comment": "example",
        "confirmed": true,
        "contractManufacturing": true,
        "currency": {
          "id": 1,
          "name": "example"
        },
        "customFields": [
          {}
        ],
        "date": "example",
        "department": {
          "id": 1,
          "name": "example"
        },
        "depositAmount": 1,
        "depositPercent": 1,
        "dropShip": true,
        "exchangeRate": 1,
        "expectedDate": "example",
        "expectedShip": "example",
        "hasSignature": "example",
        "id": 1,
        "lines": [
          {
            "amount": 1,
            "bin": {},
            "class": {},
            "customer": {},
            "description": "example",
            "id": 1,
            "item": {},
            "job": {},
            "lineNumber": 1,
            "linkedTransaction": {},
            "lot": {},
            "lotExpiration": "example",
            "quantity": 1,
            "received": 1,
            "serials": [
              {}
            ],
            "tax": {},
            "unitPrice": 1,
            "uom": {},
            "vendorPartNumber": "example",
            "volume": 1,
            "volumeunit": "example",
            "weight": 1,
            "weightunit": "example",
            "workcenter": {}
          }
        ],
        "linkedTransaction": {},
        "location": {
          "id": 1,
          "name": "example"
        },
        "number": "example",
        "pendingApproval": true,
        "shipping": {},
        "shippingMethod": {
          "id": 1,
          "name": "example"
        },
        "starred": 1,
        "subTotal": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "taxAmount": 1,
        "taxCode": {
          "id": 1,
          "name": "example"
        },
        "terms": {
          "id": 1,
          "name": "example"
        },
        "total": 1,
        "vendor": {
          "id": 1,
          "name": "example"
        },
        "vendorMessage": "example",
        "vendorNotes": "example"
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List sales orders

List sales orders, filtered by status, date, location, channel or text.

Inputs

Statusstatustext
Only open or only closed sales orders.One of: open, closed.
Fromdate_fromdate and time
Only sales orders dated at or after this time.
Todate_todate and time
Only sales orders dated at or before this time.
Searchquerytext
Only records matching this text in number, comment or customer PO.
Locationlocationtext
Only orders from the location with this name.
Channelchanneltext
Only orders from the channel with this name.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "archived": true,
        "assignedToUser": {
          "id": 1,
          "name": "example"
        },
        "billing": {},
        "channel": {
          "id": 1,
          "name": "example"
        },
        "closed": true,
        "comment": "example",
        "currency": {
          "id": 1,
          "name": "example"
        },
        "customFields": [
          {}
        ],
        "customer": {
          "id": 1,
          "name": "example"
        },
        "customerMessage": "example",
        "customerNotes": "example",
        "customerPO": "example",
        "date": "example",
        "department": {
          "id": 1,
          "name": "example"
        },
        "depositAmount": 1,
        "depositPercent": 1,
        "discountAmount": 1,
        "discountPercent": 1,
        "discountTaxable": true,
        "dropship": true,
        "exchangeRate": 1,
        "hasSignature": "example",
        "id": 1,
        "lines": [
          {
            "altAmount": "example",
            "amount": 1,
            "bin": {},
            "class": {},
            "cost": 1,
            "description": "example",
            "dueDate": "example",
            "id": 1,
            "invoiced": 1,
            "item": {},
            "job": {},
            "lineNumber": 1,
            "linkedTransaction": {},
            "listPrice": 1,
            "lot": {},
            "margin": 1,
            "percentDiscount": 1,
            "picked": 1,
            "produced": "example",
            "quantity": 1,
            "returned": "example",
            "serials": [
              {}
            ],
            "shipped": 1,
            "tax": {},
            "unitPrice": 1,
            "uom": {},
            "volume": 1,
            "volumeunit": "example",
            "weight": 1,
            "weightunit": "example",
            "workcenter": {}
          }
        ],
        "linkedTransaction": {},
        "location": {
          "id": 1,
          "name": "example"
        },
        "number": "example",
        "orderStage": {
          "id": 1,
          "name": "example"
        },
        "priority": {
          "id": 1,
          "name": "example"
        },
        "salesRep": {
          "id": 1,
          "name": "example"
        },
        "shipping": {},
        "shippingAmount": 1,
        "shippingTaxable": true,
        "starred": 1,
        "statusLink": "example",
        "statusMessage": "example",
        "subtotal": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "taxAmount": 1,
        "taxCode": {
          "id": 1,
          "name": "example"
        },
        "taxPercent": 1,
        "terms": {
          "id": 1,
          "name": "example"
        },
        "total": 1
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List shipments

List shipments, filtered by customer, location, date or text.

Inputs

Customercustomer_idnumber
Only shipments to this customer.
Locationlocationtext
Only shipments from the location with this name.
Fromdate_fromdate and time
Only shipments dated at or after this time.
Todate_todate and time
Only shipments dated at or before this time.
Searchquerytext
Only records matching this text in number or comment.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "archived": true,
        "assignedToUser": {
          "id": 1,
          "name": "example"
        },
        "billing": {},
        "channel": {
          "id": 1,
          "name": "example"
        },
        "comment": "example",
        "createBillForShippingAmount": true,
        "customFields": [
          {}
        ],
        "customer": {
          "id": 1,
          "name": "example"
        },
        "customerMessage": "example",
        "customerNotes": "example",
        "customerPO": "example",
        "date": "example",
        "department": {
          "id": 1,
          "name": "example"
        },
        "forceToShipStation": true,
        "hasSignature": "example",
        "id": 1,
        "lines": [
          {
            "altAmount": "example",
            "amount": "example",
            "bin": {},
            "class": {},
            "cost": "example",
            "description": "example",
            "dueDate": "example",
            "id": 1,
            "invoiced": 1,
            "item": {},
            "job": {},
            "lineNumber": 1,
            "linkedTransaction": {},
            "listPrice": "example",
            "lot": {},
            "margin": "example",
            "percentDiscount": "example",
            "picked": "example",
            "produced": "example",
            "quantity": 1,
            "returned": "example",
            "serials": [
              {}
            ],
            "shipped": "example",
            "tax": "example",
            "unitPrice": "example",
            "uom": {},
            "volume": 1,
            "volumeunit": "example",
            "weight": 1,
            "weightunit": "example",
            "workcenter": {}
          }
        ],
        "linkedTransaction": "example",
        "location": {
          "id": 1,
          "name": "example"
        },
        "number": "example",
        "orderStage": "example",
        "priority": {
          "id": 1,
          "name": "example"
        },
        "shipBy": "example",
        "shipping": {},
        "shippingAmount": 1,
        "shippingMethod": {
          "id": 1,
          "name": "example"
        },
        "starred": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "taxCode": "example",
        "total": "example",
        "trackingLink": "example"
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

List vendors

List the vendors items are bought from.

Inputs

Searchquerytext
Only records matching this text in name or notes.
Created sincecreated_sincedate and time
Only records added at or after this time.
Updated sinceupdated_sincedate and time
Only records changed at or after this time.
Start at rowstartnumber
The row to start at, from 1. To get the second page of 200, enter 201.At least 1.
Limitmaxresultsnumber
How many records to return, up to 200.From 1 to 200.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "count": 1,
    "data": [
      {
        "accountNumber": "example",
        "address": {},
        "altAddresses": [
          {}
        ],
        "altPhone": "example",
        "archived": true,
        "companyName": "example",
        "contact": {},
        "currency": {
          "id": 1,
          "name": "example"
        },
        "customFields": [
          {}
        ],
        "email": "example",
        "fax": "example",
        "id": 1,
        "mobile": "example",
        "name": "example",
        "notes": "example",
        "phone": "example",
        "showOnForms": true,
        "starred": 1,
        "summaryOnly": true,
        "syncToken": 1,
        "taxCode": {
          "id": 1,
          "name": "example"
        },
        "terms": {
          "id": 1,
          "name": "example"
        }
      }
    ],
    "message": "example",
    "status": "example",
    "totalCount": 1
  }
}

Update customer

Change a customer's details. Fields left empty keep their value.

Inputs

Customercustomer_idnumberRequired
The customer's ID.
Namenametext
The name the customer is looked up by.
Company namecompany_nametext
The customer's company name.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Contact first namecontact_first_nametext
The first name of the person to contact.
Contact last namecontact_last_nametext
The last name of the person to contact.
Notesnotestext
Internal notes about the customer.
Credit holdcredit_holdtrue/false
Whether the customer is on credit hold.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "altAddresses": [
      {}
    ],
    "altPhone": "example",
    "archived": true,
    "billWithParent": true,
    "billing": {},
    "businessLicense": "example",
    "companyName": "example",
    "contact": {},
    "contractorNumber": "example",
    "creditHold": true,
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customerType": {
      "id": 1,
      "name": "example"
    },
    "email": "example",
    "fax": "example",
    "foundUsVia": "example",
    "fullname": "example",
    "hasChildren": true,
    "id": 1,
    "name": "example",
    "notes": "example",
    "parent": {
      "id": 1,
      "name": "example"
    },
    "paymentMethod": {
      "id": 1,
      "name": "example"
    },
    "phone": "example",
    "priceTier": {
      "id": 1,
      "name": "example"
    },
    "resaleNumber": "example",
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "starred": 1,
    "sublevel": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "tax": {},
    "taxExemptReasonId": "example",
    "terms": {
      "id": 1,
      "name": "example"
    }
  }
}

Update item

Change an item's details. Fields left empty keep their value.

Inputs

Itemitem_idnumberRequired
The item's ID.
Namenametext
The item's name.
Descriptiondescriptiontext
The item's description on sales forms.
SKUskutext
The item's stock keeping unit.
Typetypetext
The kind of item, such as Inventory Item, Non-inventory Item or Service.
Barcodebarcodetext
The digits of the item's barcode.
Sales pricebase_sales_pricenumber
The price the item sells for.At least 0.
Purchase costbase_purchase_costnumber
What the item costs to buy.At least 0.
Reorder pointreorder_pointnumber
The stock level at which to reorder.At least 0.
Categorycategorytext
The name of the item's category.
Vendorvendor_idnumber
The vendor the item is bought from.
Tagstagstext
Tags, separated by commas.
Notesnotestext
Notes about the item.
Taxabletaxabletrue/false
Whether the item is taxable.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "alwaysShippable": true,
    "archived": true,
    "assetAccount": {
      "id": 1,
      "name": "example"
    },
    "available": 1,
    "barcode": "example",
    "basePurchaseCost": 1,
    "baseSalesPrice": 1,
    "bin": {
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "class": {
      "id": 1,
      "name": "example"
    },
    "cogsAccount": {
      "id": 1,
      "name": "example"
    },
    "commissionAmount": 1,
    "commissionExempt": true,
    "commissionRate": 1,
    "costBasis": 1,
    "customFields": [
      {}
    ],
    "customerPartNumber": "example",
    "description": "example",
    "expenseAccount": {
      "id": 1,
      "name": "example"
    },
    "fullname": "example",
    "hasImage": true,
    "id": 1,
    "incomeAccount": {
      "id": 1,
      "name": "example"
    },
    "leadTime": 1,
    "lotTracking": true,
    "markupPercent": 1,
    "maxStock": 1,
    "minimumPrice": 1,
    "name": "example",
    "notes": "example",
    "onPO": 1,
    "onRMA": 1,
    "onSO": 1,
    "onSR": 1,
    "onWO": 1,
    "onhand": 1,
    "priceTiers": [
      {}
    ],
    "purchaseCost": 1,
    "purchaseDescription": "example",
    "purchaseTaxCode": {
      "id": 1,
      "name": "example"
    },
    "rented": 1,
    "reorderPoint": 1,
    "salesPrice": 1,
    "salesTaxCode": {
      "id": 1,
      "name": "example"
    },
    "serialTracking": true,
    "showOnManufacturingForms": true,
    "showOnPurchasingForms": true,
    "showOnSalesForms": true,
    "sku": "example",
    "starred": 1,
    "sublevel": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "tags": "example",
    "taxable": true,
    "type": "example",
    "uoms": [
      {}
    ],
    "updateBigCommerce": true,
    "updateShopify": true,
    "url": "example",
    "useMarkup": true,
    "vendor": {
      "id": 1,
      "name": "example"
    },
    "vendorPartNumber": "example",
    "volume": 1,
    "warranty": "example",
    "weight": 1,
    "willSync": true
  }
}

Update sales order

Change a sales order's comment, messages or customer PO, or close it.

Inputs

Sales ordersales_order_idnumberRequired
The sales order's ID.
Commentcommenttext
An internal comment, not shown to the customer.
Customer POcustomer_potext
The customer's purchase order number.
Status messagestatus_messagetext
A status message for the order.
Customer messagecustomer_messagetext
A message to the customer on the order.
Closedclosedtrue/false
Whether the order is closed.

Outputs

dataobject
The response from SOS Inventory.
Example output
{
  "data": {
    "archived": true,
    "assignedToUser": {
      "id": 1,
      "name": "example"
    },
    "billing": {},
    "channel": {
      "id": 1,
      "name": "example"
    },
    "closed": true,
    "comment": "example",
    "currency": {
      "id": 1,
      "name": "example"
    },
    "customFields": [
      {}
    ],
    "customer": {
      "id": 1,
      "name": "example"
    },
    "customerMessage": "example",
    "customerNotes": "example",
    "customerPO": "example",
    "date": "example",
    "department": {
      "id": 1,
      "name": "example"
    },
    "depositAmount": 1,
    "depositPercent": 1,
    "discountAmount": 1,
    "discountPercent": 1,
    "discountTaxable": true,
    "dropship": true,
    "exchangeRate": 1,
    "hasSignature": "example",
    "id": 1,
    "lines": [
      {
        "altAmount": "example",
        "amount": 1,
        "bin": {},
        "class": {},
        "cost": 1,
        "description": "example",
        "dueDate": "example",
        "id": 1,
        "invoiced": 1,
        "item": {},
        "job": {},
        "lineNumber": 1,
        "linkedTransaction": {},
        "listPrice": 1,
        "lot": {},
        "margin": 1,
        "percentDiscount": 1,
        "picked": 1,
        "produced": "example",
        "quantity": 1,
        "returned": "example",
        "serials": [
          {}
        ],
        "shipped": 1,
        "tax": {},
        "unitPrice": 1,
        "uom": {},
        "volume": 1,
        "volumeunit": "example",
        "weight": 1,
        "weightunit": "example",
        "workcenter": {}
      }
    ],
    "linkedTransaction": {},
    "location": {
      "id": 1,
      "name": "example"
    },
    "number": "example",
    "orderStage": {
      "id": 1,
      "name": "example"
    },
    "priority": {
      "id": 1,
      "name": "example"
    },
    "salesRep": {
      "id": 1,
      "name": "example"
    },
    "shipping": {},
    "shippingAmount": 1,
    "shippingTaxable": true,
    "starred": 1,
    "statusLink": "example",
    "statusMessage": "example",
    "subtotal": 1,
    "summaryOnly": true,
    "syncToken": 1,
    "taxAmount": 1,
    "taxCode": {
      "id": 1,
      "name": "example"
    },
    "taxPercent": 1,
    "terms": {
      "id": 1,
      "name": "example"
    },
    "total": 1
  }
}

On this page