Fishbowl
Fishbowl Advanced REST API Documentation

Manufacture Orders

This is an object representing a Fishbowl manufacture order. Manufacture orders are used to organize work orders and allows for items to be manufactured, disassembled, and repaired.

Related guide: Manufacture Orders


The manufacture order object
Attributes

  • id integer
    The manufacture order's unique identification number.

  • number string
    The manufacture order number.

  • status string
    The order status.

  • revisionNumber integer
    The revision number.

  • note string
    The order's note field.

  • locationGroup reference object
    The location group the order belongs to.

  • salesOrder reference object
    The associated sales order.

  • dateCreated date
    Timestamp of when the order was created.

  • lastModified object
    Timestamp of when the order was last modified and the user that made the modifications.

  • dateIssued date
    Timestamp of when the order was issued.

  • dateScheduled date
    Timestamp of when the order was scheduled.

  • dateCompleted date
    Timestamp of when the order was completed.

  • url string
    The url link on the order.

  • percentComplete string
    The percent of the order that is complete.

  • class reference object
    The class category.

  • configurations list
    A list of the manufacture order configurations.

  • customFields list
    A list of custom fields associated with the order.

THE MANUFACTURE ORDER OBJECT
{
  "id": 5,
  "number": "1006",
  "revisionNumber": 2,
  "note": "",
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-04-10T18:09:26.823-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-01T18:34:01.436-0600"
  },
  "dateScheduled": "2021-04-10T18:09:26.705-0600",
  "url": "",
  "percentComplete": "0%",
  "status": "Entered",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 53,
      "bom": {
        "id": 7,
        "name": "BK100"
      },
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-04-10T18:09:26.000-0600",
      "dateScheduledToStart": "2021-04-10T18:09:26.000-0600",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Entered",
      "quantity": "15",
      "quantityFulfilled": "0",
      "class": {
        "id": 1,
        "name": "None"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 54,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "part": {
            "id": 80,
            "name": "BK100",
            "description": "New to Biking Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Finished Good"
        },
        {
          "id": 55,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "part": {
            "id": 52,
            "name": "PM100",
            "description": "Entry Bike Pump"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 56,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "part": {
            "id": 77,
            "name": "H100",
            "description": "Basic Bike Helmet"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 57,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 4,
          "part": {
            "id": 56,
            "name": "PK100",
            "description": "Patch Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 25,
      "name": "Custom",
      "type": "Text"
    },
    {
      "id": 29,
      "name": "Type",
      "type": "Drop-Down List"
    }
  ]
}

Search for manufacture orders

Searches for manufacture orders.

Parameters

  • pageNumber integer
    The current page of the results.

  • pageSize integer
    The number of returned results per page. (Default 100)

  • moNumber string
    The manufacture order number.

  • status string: 'All' | 'All Open' | 'Entered' | 'Issued' | 'Partial' | 'Fulfilled' | 'Closed Short' | 'Void'
    The order status.

  • bomNumber string
    A BOM number used in a manufacture order.

  • soNumber string
    The linked Sales Order number for a manufacture order.

  • assignedUserId integer
    The unique identifier of the user assigned to a manufacture order.

  • locationGroupId integer
    The unique identifier of a manufacture order's location group.

  • woCategory string
    The work order category name.

  • issuedFrom date: 'yyyy-MM-dd'
    The start issued date cutoff for the search.

  • issuedTo date: 'yyyy-MM-dd'
    The end issued date cutoff for the search.

  • scheduledFrom date: 'yyyy-MM-dd'
    The start scheduled date cutoff for the search.

  • scheduledTo date: 'yyyy-MM-dd'
    The end scheduled date cutoff for the search.

  • fulfilledFrom date: 'yyyy-MM-dd'
    The start fulfilled date cutoff for the search.

  • fulfilledTo date: 'yyyy-MM-dd'
    The end fulfilled date cutoff for the search.

  • containingPartNumber string
    A part number contained within a manufacture order.

  • containingPartDescription string
    A part description contained within a manufacture order.

  • containingBomItemType string: 'All' | 'Finished Good' | 'Raw Good' | 'Repair' | 'Note' | 'Bill of Materials'
    The type of a BOM item contained in the manufacture order
Attributes

  • customFields list
    A list of the order's custom fields.

GET /api/manufacture-orders
curl --location \
--request GET '<YOUR SERVER>/api/manufacture-orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
  "totalCount": 46,
  "totalPages": 23,
  "pageNumber": 1,
  "pageSize": 2,
  "results": [
    {
      "id": 1,
      "number": "1002",
      "bomNumber": "FG2100",
      "bomDescription": "Extreme Mountain Bike",
      "soNumber": "",
      "dateScheduled": "2020-07-12T18:09:26.427-0600",
      "status": "Entered",
      "locationGroup": "SLC"
    },
    {
      "id": 2,
      "number": "3",
      "bomNumber": "TB-1000",
      "bomDescription": "Value Touring  Bike",
      "soNumber": "",
      "dateScheduled": "2020-08-16T18:09:26.601-0600",
      "status": "Fulfilled",
      "locationGroup": "SLC"
    }
  ]
}

Get a manufacture order

Retrieves the details of an existing manufacture order. You only need to provide the unique manufacture order ID.

Attributes

    No attributes.


GET /api/manufacture-orders/:id
curl --location \
--request GET '<YOUR SERVER>/api/manufacture-orders/:id' \
--header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
  "id": 33,
  "number": "1024",
  "revisionNumber": 2,
  "note": "",
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-05-14T15:49:17.777-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-14T15:49:18.744-0600"
  },
  "dateIssued": "2021-05-14T15:49:18.723-0600",
  "dateScheduled": "2021-05-14T15:49:08.160-0600",
  "url": "",
  "percentComplete": "0%",
  "status": "Issued",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 384,
      "bom": {
        "id": 7,
        "name": "BK100"
      },
      "stage": false,
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-05-14T15:49:00.000-0600",
      "dateScheduledToStart": "2021-05-14T15:49:00.000-0600",
      "note": "",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Entered",
      "quantity": "1",
      "quantityFulfilled": "0",
      "class": {
        "id": 1,
        "name": "None"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 385,
          "bom": {
            "id": 7,
            "name": "BK100"
          },
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "stageLevel": 1,
          "hasSo": false,
          "part": {
            "id": 80,
            "name": "BK100",
            "description": "New to Biking Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "1",
          "quantityFulfilled": "0",
          "class": {
            "id": 1,
            "name": "None"
          },
          "priority": "All",
          "type": "Finished Good"
        },
        {
          "id": 386,
          "bom": {
            "id": 7,
            "name": "BK100"
          },
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "stageLevel": 1,
          "hasSo": false,
          "part": {
            "id": 52,
            "name": "PM100",
            "description": "Entry Bike Pump"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "1",
          "quantityFulfilled": "0",
          "class": {
            "id": 1,
            "name": "None"
          },
          "priority": "All",
          "type": "Raw Good"
        },
        {
          "id": 387,
          "bom": {
            "id": 7,
            "name": "BK100"
          },
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "stageLevel": 1,
          "hasSo": false,
          "part": {
            "id": 77,
            "name": "H100",
            "description": "Basic Bike Helmet"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "1",
          "quantityFulfilled": "0",
          "class": {
            "id": 1,
            "name": "None"
          },
          "priority": "All",
          "type": "Raw Good"
        },
        {
          "id": 388,
          "bom": {
            "id": 7,
            "name": "BK100"
          },
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 4,
          "stageLevel": 1,
          "hasSo": false,
          "part": {
            "id": 56,
            "name": "PK100",
            "description": "Patch Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "1",
          "quantityFulfilled": "0",
          "class": {
            "id": 1,
            "name": "None"
          },
          "priority": "All",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 25,
      "name": "Custom",
      "value": "",
      "type": "Text"
    },
    {
      "id": 29,
      "name": "Type",
      "value": "",
      "type": "Drop-Down List"
    }
  ]
}

Create a manufacture order

Creates a manufacture order.

Attributes

  • number string optional
    The manufacture order number.

  • status string optional
    The order status.

  • note string optional
    The order's note field.

  • locationGroup reference object optional
    The location group the order belongs to.

  • dateScheduled date optional
    Timestamp of when the order is scheduled to be fulfilled.

  • url string optional
    The url link on the order.

  • class reference object optional
    The class category.

  • configurations list
    A list of the manufacture order configurations.

  • customFields list optional
    A list of the order's custom fields.

POST /api/manufacture-orders
curl --location \
--request POST '<YOUR SERVER>/api/manufacture-orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>' \
--data-raw '<MO JSON>'
RESPONSE
{
  "id": 41,
  "number": "1032",
  "revisionNumber": 1,
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-05-28T14:26:59.239-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-28T14:26:59.242-0600"
  },
  "dateScheduled": "2021-05-28T14:26:59.200-0600",
  "url": "",
  "percentComplete": "0%",
  "status": "Entered",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 398,
      "bom": {
        "id": 3,
        "name": "LP100"
      },
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-05-28T14:26:59.000-0600",
      "dateScheduledToStart": "2021-05-28T13:56:59.000-0600",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Entered",
      "quantity": "5",
      "quantityFulfilled": "0",
      "class": {
        "id": 8,
        "name": "LA"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 399,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "part": {
            "id": 48,
            "name": "LP100",
            "description": "Custom License Plate"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "5",
          "quantityFulfilled": "0",
          "type": "Finished Good"
        },
        {
          "id": 400,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "part": {
            "id": 48,
            "name": "LP100",
            "description": "Custom License Plate"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "5",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 401,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "part": {
            "id": 51,
            "name": "OC-LP100",
            "description": "License Plate Manufacturing Cost"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "5",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": []
}

Update a manufacture order

Updates a manufacture order. Configurations will only be updated when the order status is 'Entered'. Manufacture orders linked to sales orders will not have their configurations updated.

Attributes

  • number string optional
    The manufacture order number.

  • status string optional
    The order status.

  • note string optional
    The order's note field.

  • locationGroup reference object optional
    The location group the order belongs to.

  • dateScheduled date optional
    Timestamp of when the order is scheduled to be fulfilled.

  • url string optional
    The url link on the order.

  • class reference object optional
    The class category.

  • configurations list
    A list of the manufacture order configurations.

  • customFields list optional
    A list of the order's custom fields.

POST /api/manufacture-orders
curl --location \
--request POST '<YOUR SERVER>/api/manufacture-orders/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>' \
--data-raw '<MO JSON>'
RESPONSE
{
  "id": 41,
  "number": "1032",
  "revisionNumber": 1,
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-05-28T14:26:59.239-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-28T14:26:59.242-0600"
  },
  "dateScheduled": "2021-05-28T14:26:59.200-0600",
  "url": "",
  "percentComplete": "0%",
  "status": "Entered",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 398,
      "bom": {
        "id": 3,
        "name": "LP100"
      },
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-05-28T14:26:59.000-0600",
      "dateScheduledToStart": "2021-05-28T13:56:59.000-0600",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Entered",
      "quantity": "5",
      "quantityFulfilled": "0",
      "class": {
        "id": 8,
        "name": "LA"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 399,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "part": {
            "id": 48,
            "name": "LP100",
            "description": "Custom License Plate"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "5",
          "quantityFulfilled": "0",
          "type": "Finished Good"
        },
        {
          "id": 400,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "part": {
            "id": 48,
            "name": "LP100",
            "description": "Custom License Plate"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "5",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 401,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "part": {
            "id": 51,
            "name": "OC-LP100",
            "description": "License Plate Manufacturing Cost"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "5",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": []
}

Issue a manufacture order

Issues the manufacture order with the specified ID.

Attributes

    No attributes.


POST /api/manufacture-orders/:id/issue
curl --location \
--request POST '<YOUR SERVER>/api/manufacture-orders/:id/issue' \
--header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
  "id": 5,
  "number": "1006",
  "revisionNumber": 3,
  "note": "",
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-03-21T18:09:26.823-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-21T14:51:18.895-0600"
  },
  "dateIssued": "2021-05-21T14:51:18.871-0600",
  "dateScheduled": "2021-03-21T18:09:26.705-0600",
  "url": "",
  "percentComplete": "0%",
  "status": "Issued",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 53,
      "bom": {
        "id": 7,
        "name": "BK100"
      },
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-03-21T18:09:26.000-0600",
      "dateScheduledToStart": "2021-03-21T18:09:26.000-0600",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Entered",
      "quantity": "15",
      "quantityFulfilled": "0",
      "class": {
        "id": 1,
        "name": "None"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 54,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "part": {
            "id": 80,
            "name": "BK100",
            "description": "New to Biking Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Finished Good"
        },
        {
          "id": 55,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "part": {
            "id": 52,
            "name": "PM100",
            "description": "Entry Bike Pump"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 56,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "part": {
            "id": 77,
            "name": "H100",
            "description": "Basic Bike Helmet"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 57,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 4,
          "part": {
            "id": 56,
            "name": "PK100",
            "description": "Patch Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 25,
      "name": "Custom",
      "type": "Text"
    },
    {
      "id": 29,
      "name": "Type",
      "type": "Drop-Down List"
    }
  ]
}

Unissue a manufacture order

Unissues the manufacture order with the specified ID.

Attributes

    No attributes.


POST /api/manufacture-orders/:id/unissue
curl --location \
--request POST '<YOUR SERVER>/api/manufacture-orders/:id/unissue' \
--header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
  "id": 5,
  "number": "1006",
  "revisionNumber": 4,
  "note": "",
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-04-10T18:09:26.823-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-21T15:59:24.519-0600"
  },
  "dateScheduled": "2021-04-10T18:09:26.705-0600",
  "url": "",
  "percentComplete": "0%",
  "status": "Entered",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 53,
      "bom": {
        "id": 7,
        "name": "BK100"
      },
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-04-10T18:09:26.000-0600",
      "dateScheduledToStart": "2021-04-10T18:09:26.000-0600",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Entered",
      "quantity": "15",
      "quantityFulfilled": "0",
      "class": {
        "id": 1,
        "name": "None"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 54,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "part": {
            "id": 80,
            "name": "BK100",
            "description": "New to Biking Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Finished Good"
        },
        {
          "id": 55,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "part": {
            "id": 52,
            "name": "PM100",
            "description": "Entry Bike Pump"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 56,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "part": {
            "id": 77,
            "name": "H100",
            "description": "Basic Bike Helmet"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 57,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 4,
          "part": {
            "id": 56,
            "name": "PK100",
            "description": "Patch Kit"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Entered",
          "quantity": "15",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 25,
      "name": "Custom",
      "type": "Text"
    },
    {
      "id": 29,
      "name": "Type",
      "type": "Drop-Down List"
    }
  ]
}

Close short a manufacture order

Closes short the manufacture order with the specified ID.

Attributes

    No attributes.


POST /api/manufacture-orders/:id/close-short
curl --location \
--request POST '<YOUR SERVER>/api/manufacture-orders/:id/close-short' \
--header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
  "id": 29,
  "number": "1020",
  "revisionNumber": 2,
  "note": "",
  "locationGroup": {
    "id": 5,
    "name": "SLC"
  },
  "dateCreated": "2021-05-21T16:20:22.469-0600",
  "lastModified": {
    "username": "admin",
    "dateLastModified": "2021-05-21T16:21:38.732-0600"
  },
  "dateIssued": "2021-05-21T16:20:22.469-0600",
  "dateScheduled": "2021-05-21T16:19:32.715-0600",
  "url": "",
  "percentComplete": "100%",
  "status": "Closed Short",
  "class": {
    "id": 1,
    "name": "None"
  },
  "configurations": [
    {
      "id": 323,
      "bom": {
        "id": 6,
        "name": "LI100"
      },
      "priceAdjustment": "0",
      "unitCost": "0",
      "dateScheduled": "2021-05-21T16:19:00.000-0600",
      "dateScheduledToStart": "2021-05-21T16:19:00.000-0600",
      "note": "",
      "sortId": 1,
      "stageLevel": 1,
      "hasSo": false,
      "status": "Closed Short",
      "quantity": "2",
      "quantityFulfilled": "0",
      "class": {
        "id": 1,
        "name": "None"
      },
      "priority": "3-Normal",
      "items": [
        {
          "id": 324,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 1,
          "part": {
            "id": 46,
            "name": "LI100",
            "description": "Bikers lighting system for cycling safety"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Partial",
          "quantity": "2",
          "quantityFulfilled": "1",
          "type": "Finished Good"
        },
        {
          "id": 325,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 2,
          "part": {
            "id": 47,
            "name": "LED001",
            "description": "Small LED handlebar mounted light"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Closed Short",
          "quantity": "2",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        },
        {
          "id": 326,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 3,
          "part": {
            "id": 76,
            "name": "LED002",
            "description": "Small LED tail light"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Partial",
          "quantity": "2",
          "quantityFulfilled": "1",
          "type": "Raw Good"
        },
        {
          "id": 327,
          "stage": false,
          "priceAdjustment": "0",
          "unitCost": "0",
          "sortId": 4,
          "part": {
            "id": 34,
            "name": "BTY100",
            "description": "Battery Pack"
          },
          "uom": {
            "id": 1,
            "name": "Each",
            "abbreviation": "ea"
          },
          "oneTimeItem": false,
          "status": "Closed Short",
          "quantity": "2",
          "quantityFulfilled": "0",
          "type": "Raw Good"
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 25,
      "name": "Custom",
      "value": "",
      "type": "Text"
    },
    {
      "id": 29,
      "name": "Type",
      "value": "",
      "type": "Drop-Down List"
    }
  ]
}

Delete a manufacture order

Deletes the manufacture order with the specified ID.

Attributes

    No attributes.


DELETE /api/manufacture-orders/:id
curl --location \
--request DELETE '<YOUR SERVER>/api/manufacture-orders/:id' \
--header 'Authorization: Bearer <TOKEN>'
RESPONSE
{}