Skip to content

Get shipping methods​

GET
/api/v2/shipping-methods

Returns a list of shipping methods

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Shipping method list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization

Samples​


Create a new shipping method​

POST
/api/v2/shipping-methods

Create shipping method

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Shipping method object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get shipping method by ID​

GET
/api/v2/shipping-methods/{id}

Returns a single shipping method

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Shipping method Id

Type
integer
Required
Format
"int64"

Responses​

Shipping method object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete a shipping method​

DELETE
/api/v2/shipping-methods/{id}

Deletes a shipping method

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

ID of the shipping method to delete

Type
integer
Required
Format
"int64"

Responses​

Shipping method deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update a shipping method​

PATCH
/api/v2/shipping-methods/{id}

Update an existing shipping method

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

ID of the shipping method to update

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Shipping method updated

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Delete multiple shipping methods​

POST
/api/v2/shipping-methods/bulk-delete

Deletes multiple shipping methods

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"ids": [
  
  
[
  
  
  
1,
  
  
  
2,
  
  
  
3
  
  
]
  
]
}

Responses​

Shipping methods deleted successfully

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI