Katana
App · 27 actions
Manage Katana customers, products, materials, sales orders, manufacturing orders, suppliers and stock.
Actions
| Action | What it does |
|---|---|
| Create a customer | Create a customer. |
| Create a manufacturing order | Create a manufacturing order. |
| Create a product | Create a product with one variant. |
| Create a sales order | Create a sales order with one row. |
| Delete a customer | Delete a customer. |
| Delete a manufacturing order | Delete a manufacturing order. |
| Delete a product | Delete a product. |
| Delete a sales order | Delete a sales order. |
| Get a manufacturing order | Get one manufacturing order with its costs, status and traceability. |
| Get a product | Get one product, with its variants. |
| Get a purchase order | Get one purchase order with its rows. |
| Get a sales order | Get one sales order with its rows and addresses. |
| Get factory details | Get your factory's name, address, base currency and default locations. |
| List customers | List customers, most recent first. |
| List inventory | List current stock levels, costs and reorder points by variant and location. |
| List locations | List your factory's locations. |
| List manufacturing orders | List manufacturing orders, most recent first, with their costs and status. |
| List materials | List materials, with their variants, most recent first. |
| List products | List products, with their variants, most recent first. |
| List purchase orders | List purchase orders, most recent first. |
| List sales orders | List sales orders, most recent first. |
| List suppliers | List suppliers, most recent first. |
| List variants | List the sellable and buyable variants of products and materials. |
| Update a customer | Change a customer's details. |
| Update a manufacturing order | Change a manufacturing order's status, quantities, deadline or notes. |
| Update a product | Change a product's details. |
| Update a sales order | Change a sales order's status, delivery date, references or tracking. |
Create a customer
Create a customer.
Inputs
- Name
nametextRequired - The customer's display name.
- First name
first_nametext - The customer's first name.
- Last name
last_nametext - The customer's last name.
- Company
companytext - The customer's company.
- Email
emailtext - The customer's email address.
- Phone
phonetext - The customer's phone number.
- Currency
currencytext - The customer's currency, as a three-letter ISO 4217 code such as USD.
- Reference ID
reference_idtext - Your own reference for the customer, up to 100 characters.
- Category
categorytext - A category to group the customer under, up to 100 characters.
- Discount rate
discount_ratenumber - The customer's default discount, as a percentage from 0 to 100.From 0 to 100.
- Comment
commenttext - 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
- Variant
variant_idnumberRequired - The product variant to make.At least 1.
- Location
location_idnumberRequired - The location where it will be made.At least 1.
- Planned quantity
planned_quantitynumberRequired - How many to make.At least 0.
- Order no
order_notext - The order number. Leave blank to have Katana number it.
- Production deadline date
production_deadline_datedate and time - When it must be made by. Only used when automatic deadlines are off for the location.
- Additional info
additional_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
- Name
nametextRequired - The product's name.
- SKU
skutext - The stock keeping unit (SKU) of the product's variant.
- Purchase price
purchase_pricenumber - What one unit costs to buy.At least 0.
- Sales price
sales_pricenumber - What one unit sells for.At least 0.
- Unit of measure
unit_of_measuretext - The unit it's counted in, such as pcs or kg, up to 7 characters.
- Category name
category_nametext - The category to file it under.
- Default supplier
default_supplier_idnumber - The supplier you usually buy it from.From 1 to 2147483647.
- Additional info
additional_infotext - Extra notes about it.
- Batch tracked
batch_trackedtrue/false - Whether stock is tracked in batches.
- Is sellable
is_sellabletrue/false - Whether the product can be sold.
- Is producible
is_producibletrue/false - Whether you make the product yourself.
- Is purchasable
is_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
- Customer
customer_idnumberRequired - The customer the order is for.From 1 to 2147483647.
- Variant
variant_idnumberRequired - The variant being sold.At least 1.
- Quantity
quantitynumberRequired - How many are being sold.At least 0.
- Price per unit
price_per_unitnumber - The price of one unit. Leave blank to use the variant's sales price.At least 0.
- Order no
order_notext - The order number. Leave blank to have Katana number it.
- Location
location_idnumber - The location the order ships from. Leave blank for the default sales location.From 1 to 2147483647.
- Status
statustext - Not shipped, or Pending to create a quote-like order that doesn't reserve stock yet.One of:
NOT_SHIPPED(Not shipped),PENDING. - Delivery date
delivery_datedate and time - When the order should be delivered.
- Currency
currencytext - The order's currency, as a three-letter ISO 4217 code. Leave blank for the customer's.
- Customer ref
customer_reftext - The customer's own reference for the order.
- Additional info
additional_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
- Customer
customer_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 order
manufacturing_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
- Product
product_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 order
sales_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 order
manufacturing_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
- Product
product_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 order
purchase_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 order
sales_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
- Name
nametext - Only return customers with this name.
- Email
emailtext - Only return customers with this email address.
- Company
companytext - Only return customers at this company.
- Reference ID
reference_idtext - Only return customers with this reference ID.
- Category
categorytext - Only return customers in this category.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Location
location_idnumber - Only return stock at this location.At least 1.
- Variant
variant_idnumber - Only return stock of this variant.At least 1.
- Include archived
include_archivedtrue/false - Also return stock of archived items.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Name
nametext - Only return locations with this name.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Status
statustext - Only return orders in this status.One of:
NOT_STARTED(Not started),BLOCKED,IN_PROGRESS(In progress),DONE. - Order no
order_notext - Only return the order with this order number.
- Location
location_idnumber - Only return orders made at this location.At least 1.
- Is linked to sales order
is_linked_to_sales_ordertrue/false - Only return orders that are (yes) or aren't (no) linked to a sales order.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Name
nametext - Only return materials with this name.
- Include archived
include_archivedtrue/false - Also return archived materials.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Name
nametext - Only return products with this name.
- Is sellable
is_sellabletrue/false - Only return products that can (yes) or can't (no) be sold.
- Is producible
is_producibletrue/false - Only return products that are (yes) or aren't (no) made in-house.
- Include archived
include_archivedtrue/false - Also return archived products.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Status
statustext - Only return orders in this status.One of:
DRAFT,NOT_RECEIVED(Not received),PARTIALLY_RECEIVED(Partially received),RECEIVED. - Billing status
billing_statustext - Only return orders with this billing status.One of:
BILLED,NOT_BILLED(Not billed),PARTIALLY_BILLED(Partially billed). - Supplier
supplier_idnumber - Only return orders from this supplier.At least 1.
- Order no
order_notext - Only return the order with this order number.
- Entity type
entity_typetext - Only return regular or outsourced purchase orders.One of:
regular,outsourced. - Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Customer
customer_idnumber - Only return orders for this customer.At least 1.
- Location
location_idnumber - Only return orders shipped from this location.At least 1.
- Order no
order_notext - Only return the order with this order number.
- Status
statustext - Only return orders in this status.One of:
NOT_SHIPPED(Not shipped),PENDING,READY_FOR_FULFILLMENT(Ready for fulfillment),PACKED,DELIVERED. - Production status
production_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 deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Name
nametext - Only return suppliers with this name.
- Email
emailtext - Only return suppliers with this email address.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Product
product_idnumber - Only return variants of this product.At least 1.
- Material
material_idnumber - Only return variants of this material.At least 1.
- SKU
skutext - Only return the variant with this SKU.
- Internal barcode
internal_barcodetext - Only return variants with this internal barcode.
- Include archived
include_archivedtrue/false - Also return archived variants.
- Include deleted
include_deletedtrue/false - Also return deleted records.
- Created at min
created_at_mindate and time - Only return records created at or after this time.
- Updated at min
updated_at_mindate and time - Only return records changed at or after this time.
- Page
pagenumber - The page of results to return, starting at 1.At least 1.
- Limit
limitnumber - 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
- Customer
customer_idnumberRequired - The customer to change.At least 1.
- Name
nametext - The customer's new display name.
- First name
first_nametext - The customer's first name.
- Last name
last_nametext - The customer's last name.
- Company
companytext - The customer's company.
- Email
emailtext - The customer's email address.
- Phone
phonetext - The customer's phone number.
- Currency
currencytext - The customer's currency, as a three-letter ISO 4217 code.
- Reference ID
reference_idtext - Your own reference for the customer.
- Category
categorytext - A category to group the customer under.
- Discount rate
discount_ratenumber - The customer's default discount, as a percentage from 0 to 100.From 0 to 100.
- Comment
commenttext - 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 order
manufacturing_order_idnumberRequired - The manufacturing order to change.At least 1.
- Status
statustext - 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 quantity
planned_quantitynumber - How many to make.At least 0.
- Actual quantity
actual_quantitynumber - How many were actually made.At least 0.
- Production deadline date
production_deadline_datedate and time - When it must be made by.
- Additional info
additional_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
- Product
product_idnumberRequired - The product to change.At least 1.
- Name
nametext - The product's new name.
- Unit of measure
unit_of_measuretext - The unit it's counted in, such as pcs or kg, up to 7 characters.
- Category name
category_nametext - The category to file it under.
- Default supplier
default_supplier_idnumber - The supplier you usually buy it from.From 1 to 2147483647.
- Additional info
additional_infotext - Extra notes about it.
- Batch tracked
batch_trackedtrue/false - Whether stock is tracked in batches.
- Is archived
is_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 order
sales_order_idnumberRequired - The sales order to change.At least 1.
- Status
statustext - The order's new status.One of:
NOT_SHIPPED(Not shipped),PENDING,READY_FOR_FULFILLMENT(Ready for fulfillment),PACKED,DELIVERED. - Delivery date
delivery_datedate and time - When the order should be delivered.
- Order no
order_notext - The order number. Only changes while the order is not shipped or pending.
- Customer ref
customer_reftext - The customer's own reference for the order.
- Additional info
additional_infotext - Notes for the order.
- Tracking number
tracking_numbertext - The tracking number for the order's next shipment.
- Tracking number URL
tracking_number_urltext - A link to track the order's next shipment.
- Tracking carrier
tracking_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"
}
}