younifyd
Menu

Deactivate Shipping Method

Deactivate a shipping method

DELETE/shipping_methods/{shipping_method_id}

Use it in a workflow

  1. Add a step and choose the Recurly connector.
  2. Pick the Deactivate Shipping Method action (under shipping_method).
  3. Fill in the fields below, then reference the result from later steps as {{deactivateShippingMethod.response.data}}.

Request

Path parameters

shipping_method_idstringrequired

Shipping Method ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-usps_2-day`.

Response

Returns 200 with an object. Read it in later steps with {{deactivateShippingMethod.response.data.<field>}}.

idstring
objectstring
codestring

The internal name used identify the shipping method.

namestring

The name of the shipping method displayed to customers.

accounting_codestring

Accounting code for shipping method.

tax_codestring

Used by Avalara, Vertex, and Recurly’s built-in tax feature. The tax code values are specific to each tax system. If you are using Recurly’s built-in taxes the values are: - `FR` – Common Carrier FOB Destination - `FR022000` – Common Carrier FOB Origin - `FR020400` – Non Common Carrier FOB Destination - `FR020500` – Non Common Carrier FOB Origin - `FR010100` – Delivery by Company Vehicle Before Passage of Title - `FR010200` – Delivery by Company Vehicle After Passage of Title - `NT` – Non-Taxable

liability_gl_account_idstring

The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.

revenue_gl_account_idstring

The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.

performance_obligation_idstring

The ID of a performance obligation. Performance obligations are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.

created_atstring (date-time)
updated_atstring (date-time)
deleted_atstring (date-time)
json
{
  "id": "string",
  "object": "string",
  "code": "string",
  "name": "string",
  "accounting_code": "string",
  "tax_code": "string",
  "liability_gl_account_id": "string",
  "revenue_gl_account_id": "string",
  "performance_obligation_id": "string",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-01T00:00:00Z",
  "deleted_at": "2025-01-01T00:00:00Z"
}

Need more? See the Recurly guide for connection setup and behaviour shared by every action.