Sha256: 788546eb29ea6ca92e19b6f6ad5785810ee3a364d29e4c59dd8bd5c9ae253c55

Contents?: true

Size: 1.4 KB

Versions: 12

Compression:

Stored size: 1.4 KB

Contents

{ "type":"object",
  "title": "divider_item",
  "name": "divider_item",
  "description": "A divider item serves as a separator or headline between line items, e.g. to distinguish hardware and service products on a document. Access and creation is done via documents.items(instead of line_items) where each item has a 'type' field set to its CamelCased class name.",
  "properties":{
    "id":{
      "description":"Unique identifier - UUID",
      "identity":true,
      "readonly":true,
      "type":"string",
      "maxLength": 22,
      "minLength":22
    },
    "position":{
      "description": "Required since items are sorted by position.",
      "type":"integer",
      "required":true
    },
    "name":{
      "description": "The divider text",
      "type":"string",
      "maxLength": 50
    },
   "created_at":{
      "description": "Date the object was created in SK. Never changes afterwards",
      "format":"date-time",
      "readonly":true,
      "type":"string"
    },
    "updated_at":{
      "description": "Date the object was edited in SK.",
      "format":"date-time",
      "readonly":true,
      "type":"string"
    },
    "_destroy":{
      "description": "When set an existing item will be deleted. This switch is used for items submitted nested within their parent object(a document), which is default as long as there is no line item endpoint available.",
      "type":"boolean"
    }
  },
  "links":[]
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sk_api_schema-0.7.9 json/v1.0/divider_item.json
sk_api_schema-0.7.8 json/v1.0/divider_item.json
sk_api_schema-0.7.7 json/v1.0/divider_item.json
sk_api_schema-0.7.6 json/v1.0/divider_item.json
sk_api_schema-0.7.5 json/v1.0/divider_item.json
sk_api_schema-0.7.4 json/v1.0/divider_item.json
sk_api_schema-0.7.3 json/v1.0/divider_item.json
sk_api_schema-0.7.2 json/v1.0/divider_item.json
sk_api_schema-0.7.1 json/v1.0/divider_item.json
sk_api_schema-0.7.0 json/v1.0/divider_item.json
sk_api_schema-0.6.1 json/v1.0/divider_item.json
sk_api_schema-0.6.0 json/v1.0/divider_item.json