For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create or Update Carrier

It is used to create the carriers by using request format.

Field
Data Type
Default Value
Description

Name

string

NA

The name of the carrier.

Description

string

NA

A description for the carrier.

ShippingIncomeAccntId

string

NA

Shipping income account ID.

ShippingExpenseAccntId

string

NA

Shipping expense account ID.

ShipServiceList

string

NA

Name - Name of the ship service. Code - An abbreviated code for the ship service.

ShipPackageList

string

NA

Name - Name of the package list. Code - An abbreviated code for the ship package.

Note: If you do not have access to account IDs, please request them from the client.

post
Authorizations
AuthorizationstringRequired
Body
DescriptionstringOptional
NamestringOptional
ShippingExpenseAccntIdstringOptional
ShippingIncomeAccntIdstringOptional
Responses
200

OK

application/json
DatastringOptional
IsForwardRequestbooleanOptional
MessagestringOptional
MessageTitlestring · nullableOptional
ResultbooleanOptional
post/api/xerp/shipping/carriers/create
POST /api/xerp/shipping/carriers/create HTTP/1.1
Host: res.xorosoft.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 324

{
  "Description": "fedex12",
  "Name": "Fedex12",
  "ShipPackageList": [
    {
      "Code": "PKG",
      "Name": "Package"
    },
    {
      "Code": "25BX",
      "Name": "FedEX 25kg Box"
    }
  ],
  "ShipServiceList": [
    {
      "Code": "GR",
      "Name": "Ground"
    },
    {
      "Code": "AIR",
      "Name": "Air"
    }
  ],
  "ShippingExpenseAccntId": "B78982BA2D4986B2025A1F184BE8",
  "ShippingIncomeAccntId": "72B61691A3FECA070BEE00B204708"
}
200

OK

{
  "Data": "",
  "IsForwardRequest": false,
  "Message": "Carrier created successfully",
  "MessageTitle": null,
  "Result": true
}

Last updated

Was this helpful?