Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Can't set invoice type in sale_terms #107

@LCSP

Description

@LCSP

Hello. I'm trying to publish an item with the invoice type (refer to example->sale_terms->invoice) but I'm getting this response from ML: "Not allowed to modify sale term INVOICE".

Can someone tell me why I can't set the invoice type?
Thanks

Item Body:

{
  "title": "XIAOMI Mi 8 (6\/64GB) - Azul",
  "category_id": "MLA1055",
  "price": 54495,
  "currency_id": "ARS",
  "available_quantity": "1",
  "buying_mode": "buy_it_now",
  "condition": "new",
  "listing_type_id": "free",
  "description": {
    "plain_text": "\n\n\n\n\n Test"
  },
  "sale_terms": [
    {
      "id": "WARRANTY_TYPE",
      "value_name": "Sin garantía"
    },
    {
      "id": "WARRANTY_TIME",
      "value_name": "30 días"
    },
    {
      "id": "INVOICE",
      "value_name": "Factura A",
      "value_id": "6891885" 
    }
  ],
  "pictures": [
    {
      "source": "http:\/\/URL\/fotos\/productos\/300.jpg"
    }
  ],
  "attributes": [
    {
      "id": "BRAND",
      "value_name": "LG"
    },
    {
      "id": "MODEL",
      "value_name": "A450M"
    },
    {
      "id": "IS_DUAL_SIM",
      "value_id": "242084"
    },
    {
      "id": "COLOR",
      "value_id": "52019"
    },
    {
      "id": "INTERNAL_MEMORY",
      "value_name": "3 GB"
    },
    {
      "id": "RAM",
      "value_name": "3 GB"
    },
    {
      "id": "GTIN",
      "value_name": "7898567777786"
    },
    {
      "id": "CARRIER",
      "value_id": "298335"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions