SalesOrderFulfillmentMaterials

Update salesorderfulfillment material

put/sales-order-fulfillment-materials/{id}

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/sales-order-fulfillment-materials/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

Order ID

Request body

idinteger
titlestring
descriptionstring
product_idinteger nullable
quantitynumber
fulfilled_quantitynumber
cancelled_quantitynumber
rejected_quantitynumber
created_atstring date-time
updated_atstring date-time

Example request

{
  "product": {
    "title": "Scott Scale 960",
    "price": 100,
    "pricewithoutvat": 80,
    "costprice": 8.65,
    "recommendedretailprice": 99.95,
    "suppliers": [
      {
        "id": 1,
        "name": "Johnson",
        "email": "johnson@doe.com",
        "address": "A place",
        "city": "London",
        "note": "Sells bike parts"
      }
    ],
    "tags": [
      {
        "position": 23.04
      }
    ],
    "updated_at": "2022-03-10 00:00:00"
  }
}

Response

OK

Example response

{
  "content": {
    "product": {
      "title": "Scott Scale 960",
      "price": 100,
      "pricewithoutvat": 80,
      "costprice": 8.65,
      "recommendedretailprice": 99.95,
      "suppliers": [
        {
          "id": 1,
          "name": "Johnson",
          "email": "johnson@doe.com",
          "address": "A place",
          "city": "London",
          "note": "Sells bike parts"
        }
      ],
      "tags": [
        {
          "position": 23.04
        }
      ],
      "updated_at": "2022-03-10 00:00:00"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.