A finalidade deste método é possibilitar o cadastro de códigos de acesso de produtos.
POST api/v3/products/product/{seqProduct}/accesscode
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
seqProduct | Código Sequencial do Produto | integer | Obrigatório. |
Collection of PostProductCodeDTO
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
supplierCnpj | Supplier’s CNPJ (Acceptable formats: 00.000.000/0001-00 or 00000000000000) – (Default: 0) Note: Must be informed when the codeTye field is ‘F’ or ‘C’ | string | Max length: 18 |
seqNetwork | Network sequence Note: Must be informed when the codeTye field is ‘L’ | integer | None. |
codeType | Type of access code (A – AFV, C – Client, D – DUN, E – EAN/Barcode, F – Supplier, B – Internal, L – Customer network, I – Transition) | string | Required Max length: 1 |
packingQuantity | Packing quantity | decimal number | None. |
accessCode | Access code | string | Required Max length: 60 |
usageForSaleIndicator | Usage for sale indicator – (Default: S) | string | Max length: 1 |
EANTaxableNFEIndicator | EAN taxable NFE indicator – (Default: N) | string | Max length: 1 |
usageForNFEIndicator | Usage FOR NFE Indicator – (Default: S) | string | Max length: 1 |
application/json, text/json
Exemplo (Sample):
[
{
"supplierCnpj": "sample string 1",
"seqNetwork": 1,
"codeType": "sample string 2",
"packingQuantity": 1.1,
"accessCode": "sample string 3",
"usageForSaleIndicator": "sample string 4",
"EANTaxableNFEIndicator": "sample string 5",
"usageForNFEIndicator": "sample string 6"
},
{
"supplierCnpj": "sample string 1",
"seqNetwork": 1,
"codeType": "sample string 2",
"packingQuantity": 1.1,
"accessCode": "sample string 3",
"usageForSaleIndicator": "sample string 4",
"EANTaxableNFEIndicator": "sample string 5",
"usageForNFEIndicator": "sample string 6"
}
]
application/x-www-form-urlencoded
Exemplo (Sample):
Exemplo não disponível.
Collection of ProductCode
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
seqProduct | integer | None. | |
seqFamily | integer | None. | |
supplierCnpj | integer | None. | |
codeType | string | None. | |
packingQuantity | decimal number | None. | |
accessCode | string | None. | |
usageForSaleIndicator | string | None. | |
EANTaxableNFEIndicator | string | None. | |
usageForNFEIndicator | string | None. |
application/json, text/json
Exemplo (Sample):
[
{
"seqProduct": 1,
"seqFamily": 1,
"supplierCnpj": 1,
"codeType": "sample string 2",
"packingQuantity": 1.1,
"accessCode": "sample string 3",
"usageForSaleIndicator": "sample string 4",
"EANTaxableNFEIndicator": "sample string 5",
"usageForNFEIndicator": "sample string 6"
},
{
"seqProduct": 1,
"seqFamily": 1,
"supplierCnpj": 1,
"codeType": "sample string 2",
"packingQuantity": 1.1,
"accessCode": "sample string 3",
"usageForSaleIndicator": "sample string 4",
"EANTaxableNFEIndicator": "sample string 5",
"usageForNFEIndicator": "sample string 6"
}
]