{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-shipping-method-create-schema.json",
  "title": "ShippingMethodCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-shipping-method-api-openapi.yml#/components/schemas/ShippingMethodCreate",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "title": "Code",
      "description": "The internal name used identify the shipping method.",
      "pattern": "/^[a-z0-9_+-]+$/i",
      "maxLength": 50
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The name of the shipping method displayed to customers.",
      "maxLength": 100
    },
    "accounting_code": {
      "type": "string",
      "title": "Accounting Code",
      "description": "Accounting code for shipping method.",
      "maxLength": 20
    },
    "tax_code": {
      "type": "string",
      "title": "Tax code",
      "description": "Used by Avalara, Vertex, and Recurly’s built-in tax feature. The tax\ncode values are specific to each tax system. If you are using Recurly’s\nbuilt-in taxes the values are:\n\n- `FR` – Common Carrier FOB Destination\n- `FR022000` – Common Carrier FOB Origin\n- `FR020400` – Non Common Carrier FOB Destination\n- `FR020500` – Non Common Carrier FOB Origin\n- `FR010100` – Delivery by Company Vehicle Before Passage of Title\n- `FR010200` – Delivery by Company Vehicle After Passage of Title\n- `NT` – Non-Taxable\n",
      "maxLength": 50
    },
    "liability_gl_account_id": {
      "type": "string",
      "title": "General Ledger Account ID",
      "description": "The ID of a general ledger account. General ledger accounts are\nonly accessible as a part of the Recurly RevRec Standard and\nRecurly RevRec Advanced features.\n",
      "maxLength": 13
    },
    "revenue_gl_account_id": {
      "type": "string",
      "title": "General Ledger Account ID",
      "description": "The ID of a general ledger account. General ledger accounts are\nonly accessible as a part of the Recurly RevRec Standard and\nRecurly RevRec Advanced features.\n",
      "maxLength": 13
    },
    "performance_obligation_id": {
      "type": "string",
      "title": "Performance Obligation ID",
      "description": "The ID of a performance obligation. Performance obligations are\nonly accessible as a part of the Recurly RevRec Standard and\nRecurly RevRec Advanced features.\n",
      "maxLength": 13
    }
  },
  "required": [
    "code",
    "name"
  ]
}