parcel_line_items

Update a parcel line item

Changed on

Update a parcel line item

patch/parcel_line_items/{parcelLineItemId}

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/parcel_line_items/{parcelLineItemId}
  • Auth
    HTTP bearer

Path parameters

parcelLineItemIdstring required

The resource's id

Request body

Example request

{
  "data": {
    "id": "XAyRWNUzyN",
    "attributes": {
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      }
    }
  }
}

Response

The updated parcel line item object

Changes

    • breaking

      request property / was restricted to a list of enum values

    • info

      the request property // became nullable

    • info

      the request property // became nullable

    • info

      the request property // became nullable

    • info

      the request property default value parcel_line_items was removed

    • info

      added the new parcel_line_items enum value to the request property /

    • info

      added the media type application/vnd.api+json for the response with the status