Packages

Update package

Update packages for the specified package id. Requires Bearer JWT authentication.

put/packages/{package_id}

Request

  • Base URL
    https://queries.test.envia.com
  • URL
    https://queries.test.envia.com/packages/{package_id}
  • Auth
    HTTP bearer

Path parameters

package_idinteger required
Example:1

Package ID

Request body

namestring

Package name

lengthnumber

Package length

widthnumber

Package width

heightnumber

Package height

weightnumber

Package weight

Example request

{
  "name": "Standard Box",
  "length": 30,
  "width": 20,
  "height": 15,
  "weight": 2.5
}

Response

Successful response

successboolean

Indicates if the request was successful

dataobject

Updated package information

Changes

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