Skip to main content

BomErrorResponse

customIdstring[]

Error messages for custom ID field

Example: ["BOM with custom_id 'BOM-001' already exists for this product and purchase order"]
namestring[]

Error messages for name field

Example: ["BOM with name 'Manufacturing BOM for Winter Line' already exists for this product and purchase order"]
activestring[]

Error messages for active field

Example: ["This field is required."]
productTypestring[]

Error messages for product type field

Example: ["This field is required."]
productCustomIdstring[]

Error messages for product custom ID field

Example: ["This field is required."]
attachments object[]
  • Array [
  • fileIdstring[]

    Error messages for file ID field

    Example: ["File not found: 550e8400-e29b-41d4-a716-446655440000"]
  • ]
  • contributions object[]
  • Array [
  • rolestring[]
    orgCustomIdstring[]
  • ]
  • orgCustomIdstring[]

    Error messages for local org custom ID

    Example: ["Local organization with custom ID 'non_existent_org' not found"]
    BomErrorResponse
    {
    "customId": [
    "BOM with custom_id 'BOM-001' already exists for this product and purchase order"
    ],
    "name": [
    "BOM with name 'Manufacturing BOM for Winter Line' already exists for this product and purchase order"
    ],
    "active": [
    "This field is required."
    ],
    "productType": [
    "This field is required."
    ],
    "productCustomId": [
    "This field is required."
    ],
    "attachments": [
    {
    "fileId": [
    "File not found: 550e8400-e29b-41d4-a716-446655440000"
    ]
    }
    ],
    "contributions": [
    {
    "role": [
    "This field is required."
    ],
    "orgCustomId": [
    "This field is required."
    ]
    }
    ],
    "orgCustomId": [
    "Local organization with custom ID 'non_existent_org' not found"
    ]
    }