Katana

App · 27 actions

Manage Katana customers, products, materials, sales orders, manufacturing orders, suppliers and stock.

Actions

ActionWhat it does
Create a customerCreate a customer.
Create a manufacturing orderCreate a manufacturing order.
Create a productCreate a product with one variant.
Create a sales orderCreate a sales order with one row.
Delete a customerDelete a customer.
Delete a manufacturing orderDelete a manufacturing order.
Delete a productDelete a product.
Delete a sales orderDelete a sales order.
Get a manufacturing orderGet one manufacturing order with its costs, status and traceability.
Get a productGet one product, with its variants.
Get a purchase orderGet one purchase order with its rows.
Get a sales orderGet one sales order with its rows and addresses.
Get factory detailsGet your factory's name, address, base currency and default locations.
List customersList customers, most recent first.
List inventoryList current stock levels, costs and reorder points by variant and location.
List locationsList your factory's locations.
List manufacturing ordersList manufacturing orders, most recent first, with their costs and status.
List materialsList materials, with their variants, most recent first.
List productsList products, with their variants, most recent first.
List purchase ordersList purchase orders, most recent first.
List sales ordersList sales orders, most recent first.
List suppliersList suppliers, most recent first.
List variantsList the sellable and buyable variants of products and materials.
Update a customerChange a customer's details.
Update a manufacturing orderChange a manufacturing order's status, quantities, deadline or notes.
Update a productChange a product's details.
Update a sales orderChange a sales order's status, delivery date, references or tracking.

Create a customer

Create a customer.

Inputs

NamenametextRequired
The customer's display name.
First namefirst_nametext
The customer's first name.
Last namelast_nametext
The customer's last name.
Companycompanytext
The customer's company.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Currencycurrencytext
The customer's currency, as a three-letter ISO 4217 code such as USD.
Reference IDreference_idtext
Your own reference for the customer, up to 100 characters.
Categorycategorytext
A category to group the customer under, up to 100 characters.
Discount ratediscount_ratenumber
The customer's default discount, as a percentage from 0 to 100.From 0 to 100.
Commentcommenttext
A note about the customer.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "addresses": [],
    "category": "example",
    "comment": "example",
    "company": "example",
    "created_at": "example",
    "currency": "example",
    "custom_fields": {},
    "default_billing_id": 1,
    "default_shipping_id": 1,
    "deleted_at": "example",
    "discount_rate": 1.0,
    "email": "example",
    "first_name": "example",
    "id": 1,
    "last_name": "example",
    "name": "example",
    "phone": "example",
    "reference_id": "example",
    "updated_at": "example"
  }
}

Create a manufacturing order

Create a manufacturing order. Katana adds the recipe and operation rows from the product.

Inputs

Variantvariant_idnumberRequired
The product variant to make.At least 1.
Locationlocation_idnumberRequired
The location where it will be made.At least 1.
Planned quantityplanned_quantitynumberRequired
How many to make.At least 0.
Order noorder_notext
The order number. Leave blank to have Katana number it.
Production deadline dateproduction_deadline_datedate and time
When it must be made by. Only used when automatic deadlines are off for the location.
Additional infoadditional_infotext
Notes for the order.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "actual_quantity": "example",
    "additional_info": "example",
    "batch_transactions": [],
    "created_at": "example",
    "custom_fields": {},
    "deleted_at": "example",
    "done_date": "example",
    "id": 1,
    "ingredient_availability": "example",
    "is_linked_to_sales_order": false,
    "location_id": 1,
    "material_cost": 1.0,
    "operations_cost": 1.0,
    "order_created_date": "example",
    "order_no": "example",
    "planned_quantity": 1.0,
    "production_deadline_date": "example",
    "sales_order_delivery_deadline": "example",
    "sales_order_id": 1,
    "sales_order_row_id": 1,
    "serial_numbers": [],
    "status": "example",
    "subassemblies_cost": 1.0,
    "total_actual_time": 1.0,
    "total_cost": 1.0,
    "total_planned_time": 1.0,
    "traceability": [],
    "updated_at": "example",
    "variant_id": 1
  }
}

Create a product

Create a product with one variant. Add more variants in Katana.

Inputs

NamenametextRequired
The product's name.
SKUskutext
The stock keeping unit (SKU) of the product's variant.
Purchase pricepurchase_pricenumber
What one unit costs to buy.At least 0.
Sales pricesales_pricenumber
What one unit sells for.At least 0.
Unit of measureunit_of_measuretext
The unit it's counted in, such as pcs or kg, up to 7 characters.
Category namecategory_nametext
The category to file it under.
Default supplierdefault_supplier_idnumber
The supplier you usually buy it from.From 1 to 2147483647.
Additional infoadditional_infotext
Extra notes about it.
Batch trackedbatch_trackedtrue/false
Whether stock is tracked in batches.
Is sellableis_sellabletrue/false
Whether the product can be sold.
Is producibleis_producibletrue/false
Whether you make the product yourself.
Is purchasableis_purchasabletrue/false
Whether you buy the product in. A product must be producible, purchasable or both.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "batch_tracked": false,
    "category_name": "example",
    "configs": [],
    "created_at": "example",
    "custom_field_collection_id": 1,
    "default_supplier_id": 1,
    "id": 1,
    "is_auto_assembly": false,
    "is_producible": false,
    "is_purchasable": false,
    "is_sellable": false,
    "name": "example",
    "operations_in_sequence": false,
    "purchase_uom": "example",
    "purchase_uom_conversion_rate": 1.0,
    "serial_tracked": false,
    "type": "example",
    "uom": "example",
    "updated_at": "example",
    "variants": []
  }
}

Create a sales order

Create a sales order with one row. Add more rows in Katana.

Inputs

Customercustomer_idnumberRequired
The customer the order is for.From 1 to 2147483647.
Variantvariant_idnumberRequired
The variant being sold.At least 1.
QuantityquantitynumberRequired
How many are being sold.At least 0.
Price per unitprice_per_unitnumber
The price of one unit. Leave blank to use the variant's sales price.At least 0.
Order noorder_notext
The order number. Leave blank to have Katana number it.
Locationlocation_idnumber
The location the order ships from. Leave blank for the default sales location.From 1 to 2147483647.
Statusstatustext
Not shipped, or Pending to create a quote-like order that doesn't reserve stock yet.One of: NOT_SHIPPED (Not shipped), PENDING.
Delivery datedelivery_datedate and time
When the order should be delivered.
Currencycurrencytext
The order's currency, as a three-letter ISO 4217 code. Leave blank for the customer's.
Customer refcustomer_reftext
The customer's own reference for the order.
Additional infoadditional_infotext
Notes for the order.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "addresses": [],
    "billing_address_id": 1,
    "conversion_date": "example",
    "conversion_rate": 1.0,
    "created_at": "example",
    "currency": "example",
    "custom_fields": {},
    "customer_id": 1,
    "customer_ref": "example",
    "deleted_at": "example",
    "delivery_date": "example",
    "ecommerce_order_id": "example",
    "ecommerce_order_type": "example",
    "ecommerce_store_name": "example",
    "id": 1,
    "ingredient_availability": "example",
    "invoicing_status": "example",
    "location_id": 1,
    "order_created_date": "example",
    "order_no": "example",
    "picked_date": "example",
    "product_availability": "example",
    "production_status": "example",
    "sales_order_rows": [],
    "shipping_address_id": 1,
    "source": "example",
    "status": "example",
    "total": 1.0,
    "total_in_base_currency": 1.0,
    "tracking_carrier": "example",
    "tracking_method": "example",
    "tracking_number": "example",
    "tracking_number_url": "example",
    "updated_at": "example"
  }
}

Delete a customer

Delete a customer.

Inputs

Customercustomer_idnumberRequired
The customer to delete.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {}
}

Delete a manufacturing order

Delete a manufacturing order.

Inputs

Manufacturing ordermanufacturing_order_idnumberRequired
The manufacturing order to delete.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {}
}

Delete a product

Delete a product.

Inputs

Productproduct_idnumberRequired
The product to delete.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {}
}

Delete a sales order

Delete a sales order.

Inputs

Sales ordersales_order_idnumberRequired
The sales order to delete.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {}
}

Get a manufacturing order

Get one manufacturing order with its costs, status and traceability.

Inputs

Manufacturing ordermanufacturing_order_idnumberRequired
The manufacturing order to get.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "actual_quantity": "example",
    "additional_info": "example",
    "batch_transactions": [],
    "created_at": "example",
    "custom_fields": {},
    "deleted_at": "example",
    "done_date": "example",
    "id": 1,
    "ingredient_availability": "example",
    "is_linked_to_sales_order": false,
    "location_id": 1,
    "material_cost": 1.0,
    "operations_cost": 1.0,
    "order_created_date": "example",
    "order_no": "example",
    "planned_quantity": 1.0,
    "production_deadline_date": "example",
    "sales_order_delivery_deadline": "example",
    "sales_order_id": 1,
    "sales_order_row_id": 1,
    "serial_numbers": [],
    "status": "example",
    "subassemblies_cost": 1.0,
    "total_actual_time": 1.0,
    "total_cost": 1.0,
    "total_planned_time": 1.0,
    "traceability": [],
    "updated_at": "example",
    "variant_id": 1
  }
}

Get a product

Get one product, with its variants.

Inputs

Productproduct_idnumberRequired
The product to get.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "archived_at": "example",
    "batch_tracked": false,
    "category_name": "example",
    "configs": [],
    "created_at": "example",
    "custom_field_collection_id": 1,
    "default_supplier_id": 1,
    "id": 1,
    "is_auto_assembly": false,
    "is_producible": false,
    "is_purchasable": false,
    "is_sellable": false,
    "name": "example",
    "operations_in_sequence": false,
    "purchase_uom": "example",
    "purchase_uom_conversion_rate": 1.0,
    "supplier": {
      "comment": "example",
      "created_at": "example",
      "currency": "example",
      "deleted_at": "example",
      "email": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    },
    "type": "example",
    "uom": "example",
    "updated_at": "example",
    "variants": []
  }
}

Get a purchase order

Get one purchase order with its rows.

Inputs

Purchase orderpurchase_order_idnumberRequired
The purchase order to get.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "billing_status": "example",
    "created_at": "example",
    "currency": "example",
    "custom_fields": {},
    "default_group_id": 1,
    "deleted_at": "example",
    "entity_type": "example",
    "expected_arrival_date": "example",
    "id": 1,
    "ingredient_availability": "example",
    "ingredient_expected_date": "example",
    "last_document_status": "example",
    "location_id": 1,
    "order_created_date": "example",
    "order_no": "example",
    "purchase_order_rows": [],
    "status": "example",
    "supplier": {
      "comment": "example",
      "created_at": "example",
      "currency": "example",
      "deleted_at": "example",
      "email": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    },
    "supplier_id": 1,
    "total": 1.0,
    "total_in_base_currency": 1.0,
    "tracking_location_id": "example",
    "updated_at": "example"
  }
}

Get a sales order

Get one sales order with its rows and addresses.

Inputs

Sales ordersales_order_idnumberRequired
The sales order to get.At least 1.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "addresses": [],
    "billing_address_id": 1,
    "conversion_date": "example",
    "conversion_rate": 1.0,
    "created_at": "example",
    "currency": "example",
    "custom_fields": {},
    "customer_id": 1,
    "customer_ref": "example",
    "delivery_date": "example",
    "ecommerce_order_id": "example",
    "ecommerce_order_type": "example",
    "ecommerce_store_name": "example",
    "id": 1,
    "ingredient_availability": "example",
    "ingredient_expected_date": "example",
    "invoicing_status": "example",
    "location_id": 1,
    "order_created_date": "example",
    "order_no": "example",
    "picked_date": "example",
    "product_availability": "example",
    "product_expected_date": "example",
    "production_status": "example",
    "sales_order_rows": [],
    "shipping_address_id": 1,
    "shipping_fee": {
      "amount": "example",
      "description": "example",
      "id": 1,
      "sales_order_id": 1,
      "tax_rate_id": 1
    },
    "source": "example",
    "status": "example",
    "total": 1.0,
    "total_in_base_currency": 1.0,
    "tracking_carrier": "example",
    "tracking_method": "example",
    "tracking_number": "example",
    "tracking_number_url": "example",
    "updated_at": "example"
  }
}

Get factory details

Get your factory's name, address, base currency and default locations.

Inputs

None.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "base_currency_code": "example",
    "default_manufacturing_location_id": 1,
    "default_mo_lead_time": "example",
    "default_po_lead_time": "example",
    "default_purchases_location_id": 1,
    "default_sales_location_id": 1,
    "default_so_delivery_time": "example",
    "display_name": "example",
    "inventory_closing_date": "example",
    "legal_address": {
      "city": "example",
      "country": "example",
      "line_1": "example",
      "line_2": "example",
      "state": "example",
      "zip": "example"
    },
    "legal_name": "example"
  }
}

List customers

List customers, most recent first.

Inputs

Namenametext
Only return customers with this name.
Emailemailtext
Only return customers with this email address.
Companycompanytext
Only return customers at this company.
Reference IDreference_idtext
Only return customers with this reference ID.
Categorycategorytext
Only return customers in this category.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List inventory

List current stock levels, costs and reorder points by variant and location.

Inputs

Locationlocation_idnumber
Only return stock at this location.At least 1.
Variantvariant_idnumber
Only return stock of this variant.At least 1.
Include archivedinclude_archivedtrue/false
Also return stock of archived items.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List locations

List your factory's locations.

Inputs

Namenametext
Only return locations with this name.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List manufacturing orders

List manufacturing orders, most recent first, with their costs and status.

Inputs

Statusstatustext
Only return orders in this status.One of: NOT_STARTED (Not started), BLOCKED, IN_PROGRESS (In progress), DONE.
Order noorder_notext
Only return the order with this order number.
Locationlocation_idnumber
Only return orders made at this location.At least 1.
Is linked to sales orderis_linked_to_sales_ordertrue/false
Only return orders that are (yes) or aren't (no) linked to a sales order.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List materials

List materials, with their variants, most recent first.

Inputs

Namenametext
Only return materials with this name.
Include archivedinclude_archivedtrue/false
Also return archived materials.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List products

List products, with their variants, most recent first.

Inputs

Namenametext
Only return products with this name.
Is sellableis_sellabletrue/false
Only return products that can (yes) or can't (no) be sold.
Is producibleis_producibletrue/false
Only return products that are (yes) or aren't (no) made in-house.
Include archivedinclude_archivedtrue/false
Also return archived products.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List purchase orders

List purchase orders, most recent first.

Inputs

Statusstatustext
Only return orders in this status.One of: DRAFT, NOT_RECEIVED (Not received), PARTIALLY_RECEIVED (Partially received), RECEIVED.
Billing statusbilling_statustext
Only return orders with this billing status.One of: BILLED, NOT_BILLED (Not billed), PARTIALLY_BILLED (Partially billed).
Suppliersupplier_idnumber
Only return orders from this supplier.At least 1.
Order noorder_notext
Only return the order with this order number.
Entity typeentity_typetext
Only return regular or outsourced purchase orders.One of: regular, outsourced.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List sales orders

List sales orders, most recent first.

Inputs

Customercustomer_idnumber
Only return orders for this customer.At least 1.
Locationlocation_idnumber
Only return orders shipped from this location.At least 1.
Order noorder_notext
Only return the order with this order number.
Statusstatustext
Only return orders in this status.One of: NOT_SHIPPED (Not shipped), PENDING, READY_FOR_FULFILLMENT (Ready for fulfillment), PACKED, DELIVERED.
Production statusproduction_statustext
Only return orders with this production status.One of: NOT_STARTED (Not started), NONE, NOT_APPLICABLE (Not applicable), IN_PROGRESS (In progress), BLOCKED, DONE.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List suppliers

List suppliers, most recent first.

Inputs

Namenametext
Only return suppliers with this name.
Emailemailtext
Only return suppliers with this email address.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

List variants

List the sellable and buyable variants of products and materials.

Inputs

Productproduct_idnumber
Only return variants of this product.At least 1.
Materialmaterial_idnumber
Only return variants of this material.At least 1.
SKUskutext
Only return the variant with this SKU.
Internal barcodeinternal_barcodetext
Only return variants with this internal barcode.
Include archivedinclude_archivedtrue/false
Also return archived variants.
Include deletedinclude_deletedtrue/false
Also return deleted records.
Created at mincreated_at_mindate and time
Only return records created at or after this time.
Updated at minupdated_at_mindate and time
Only return records changed at or after this time.
Pagepagenumber
The page of results to return, starting at 1.At least 1.
Limitlimitnumber
How many records to return on each page, up to 250. Defaults to 50.From 1 to 250.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "data": []
  }
}

Update a customer

Change a customer's details. Fields left blank keep their current values.

Inputs

Customercustomer_idnumberRequired
The customer to change.At least 1.
Namenametext
The customer's new display name.
First namefirst_nametext
The customer's first name.
Last namelast_nametext
The customer's last name.
Companycompanytext
The customer's company.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Currencycurrencytext
The customer's currency, as a three-letter ISO 4217 code.
Reference IDreference_idtext
Your own reference for the customer.
Categorycategorytext
A category to group the customer under.
Discount ratediscount_ratenumber
The customer's default discount, as a percentage from 0 to 100.From 0 to 100.
Commentcommenttext
A note about the customer.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "category": "example",
    "comment": "example",
    "company": "example",
    "created_at": "example",
    "currency": "example",
    "custom_fields": {},
    "default_billing_id": 1,
    "default_shipping_id": 1,
    "deleted_at": "example",
    "discount_rate": 1.0,
    "email": "example",
    "first_name": "example",
    "id": 1,
    "last_name": "example",
    "name": "example",
    "phone": "example",
    "reference_id": "example",
    "updated_at": "example"
  }
}

Update a manufacturing order

Change a manufacturing order's status, quantities, deadline or notes.

Inputs

Manufacturing ordermanufacturing_order_idnumberRequired
The manufacturing order to change.At least 1.
Statusstatustext
The order's new status. Done completes it and adds what's made to stock.One of: NOT_STARTED (Not started), BLOCKED, IN_PROGRESS (In progress), DONE.
Planned quantityplanned_quantitynumber
How many to make.At least 0.
Actual quantityactual_quantitynumber
How many were actually made.At least 0.
Production deadline dateproduction_deadline_datedate and time
When it must be made by.
Additional infoadditional_infotext
Notes for the order.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "actual_quantity": "example",
    "additional_info": "example",
    "batch_transactions": [],
    "created_at": "example",
    "custom_fields": {},
    "deleted_at": "example",
    "done_date": "example",
    "id": 1,
    "ingredient_availability": "example",
    "is_linked_to_sales_order": false,
    "location_id": 1,
    "material_cost": 1.0,
    "operations_cost": 1.0,
    "order_created_date": "example",
    "order_no": "example",
    "planned_quantity": 1.0,
    "production_deadline_date": "example",
    "sales_order_delivery_deadline": "example",
    "sales_order_id": 1,
    "sales_order_row_id": 1,
    "serial_numbers": [],
    "status": "example",
    "subassemblies_cost": 1.0,
    "total_actual_time": 1.0,
    "total_cost": 1.0,
    "total_planned_time": 1.0,
    "traceability": [],
    "updated_at": "example",
    "variant_id": 1
  }
}

Update a product

Change a product's details. Fields left blank keep their current values.

Inputs

Productproduct_idnumberRequired
The product to change.At least 1.
Namenametext
The product's new name.
Unit of measureunit_of_measuretext
The unit it's counted in, such as pcs or kg, up to 7 characters.
Category namecategory_nametext
The category to file it under.
Default supplierdefault_supplier_idnumber
The supplier you usually buy it from.From 1 to 2147483647.
Additional infoadditional_infotext
Extra notes about it.
Batch trackedbatch_trackedtrue/false
Whether stock is tracked in batches.
Is archivedis_archivedtrue/false
Archive the product (yes) or restore it (no).

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "archived_at": "example",
    "batch_tracked": false,
    "category_name": "example",
    "configs": [],
    "created_at": "example",
    "custom_field_collection_id": 1,
    "default_supplier_id": 1,
    "id": 1,
    "is_auto_assembly": false,
    "is_producible": false,
    "is_purchasable": false,
    "is_sellable": false,
    "name": "example",
    "operations_in_sequence": false,
    "purchase_uom": "example",
    "purchase_uom_conversion_rate": 1.0,
    "serial_tracked": false,
    "type": "example",
    "uom": "example",
    "updated_at": "example",
    "variants": []
  }
}

Update a sales order

Change a sales order's status, delivery date, references or tracking.

Inputs

Sales ordersales_order_idnumberRequired
The sales order to change.At least 1.
Statusstatustext
The order's new status.One of: NOT_SHIPPED (Not shipped), PENDING, READY_FOR_FULFILLMENT (Ready for fulfillment), PACKED, DELIVERED.
Delivery datedelivery_datedate and time
When the order should be delivered.
Order noorder_notext
The order number. Only changes while the order is not shipped or pending.
Customer refcustomer_reftext
The customer's own reference for the order.
Additional infoadditional_infotext
Notes for the order.
Tracking numbertracking_numbertext
The tracking number for the order's next shipment.
Tracking number URLtracking_number_urltext
A link to track the order's next shipment.
Tracking carriertracking_carriertext
The carrier for the order's next shipment.

Outputs

dataobject
The response from Katana.
Example output
{
  "data": {
    "additional_info": "example",
    "addresses": [],
    "billing_address_id": 1,
    "conversion_date": "example",
    "conversion_rate": 1.0,
    "created_at": "example",
    "currency": "example",
    "custom_fields": {},
    "customer_id": 1,
    "customer_ref": "example",
    "deleted_at": "example",
    "delivery_date": "example",
    "ecommerce_order_id": "example",
    "ecommerce_order_type": "example",
    "ecommerce_store_name": "example",
    "id": 1,
    "ingredient_availability": "example",
    "invoicing_status": "example",
    "linked_manufacturing_order_id": 1,
    "location_id": 1,
    "order_created_date": "example",
    "order_no": "example",
    "picked_date": "example",
    "product_availability": "example",
    "production_status": "example",
    "shipping_address_id": 1,
    "source": "example",
    "status": "example",
    "tracking_carrier": "example",
    "tracking_method": "example",
    "tracking_number": "example",
    "tracking_number_url": "example",
    "updated_at": "example"
  }
}

On this page