Can someone help me?

curl -X 'POST' \  'https://api.bling.com.br/Api/v3/produtos' \  -H 'accept: application/json' \  -H 'Content-Type: application/json' \  -d '{  "id": 123456789,  "name": "Product 1",  "code": "CODE_123",  "price": 1,  "type": "P",  "status": "A",  "format": "S",  "shortDescription": "Short description",  "expirationDate": "2020-01-01",  "unit": "UN",  "netWeight": 1,  "grossWeight": 1,  "volumes": 1,  "itemsPerBox": 1,  "gtin": "1234567890123",  "packagingGtin": "1234567890123",  "productionType": "P",  "condition": 0,  "freeShipping": false,  "brand": "Brand",  "additionalDescription": "Additional description",  "externalLink": "https://www.google.com",  "notes": "Notes",  "discreetPackagingDescription": "Test product",  "category": {  "id": 123456789  },  "stock": {  "min": 1,  "max": 100,  "crossdocking": 1,  "location": "14A"  },  "stockAction": "",  "dimensions": {  "width": 1,  "height": 1,  "depth": 1,  "unitOfMeasure": 1  },  "taxation": {  "origin": 0,  "nFCI": "",  "ncm": "",  "cest": "",  "serviceListCode": "",  "itemTypeCode": "",  "itemCode": "",  "taxPercentage": 0,  "withholdingTaxBaseAmount": 0,  "withholdingTaxAmount": 0,  "substituteICMSAmount": 0,  "exemptionTypeCode": "",  "IpiClassification": "",  "fixedIpiAmount": 0,  "IpiStampCode": "",  "FixedPisAmount": 0,  "FixedCofinsAmount": 0,  "ANPCode": "",  "ANPDescription": "",  "LPGPercentage": 0,  "DomesticGasPercentage": 0,  "percentageImportedGas": 0,  "baseValue": 0,  "weaponType": 0,  "fullWeaponDescription": "",  "additionalData": "",  "productGroup": {  "id": 123456789  }  },  "media": {  "video": {  "url": "https://www.youtube.com/watch?v=1"  },  "images": {  "imageURLs": [  {  "link": "https://shutterstock.com/lalala123"  }  ]  }  },  "productLine": {  "id": 1  },  "structure": {  "stockType": "F",  "stockRelease": "A",  "components": [  {  "product": {  "id": 1  },  "quantity": 2.1  }  ]  },  "customFields": [  {  "customFieldId": 123456789,  "linkId": "Use to update the existing value. Ex: 123456789",  "value": "256GB",  "item": "Option A"  }  ],  "variations": [  {  "id": 123456789,  "name": "Product 1",  "code": "CODE_123",  "price": 1,  "type": "P",  "status": "A",  "format": "S",  "shortDescription": "Short description",  "expirationDate": "2020-01-01",  "unit": "UN",  "netWeight": 1,  "grossWeight": 1,  "volumes": 1,  "itemsPerBox": 1,  "gtin": "1234567890123",  "gtinPackaging": "1234567890123",  "productionType": "P",  "condition": 0,  "freeShipping": false,  "brand": "Brand",  "additionalDescription": "Additional description",  "externalLink": "https://www.google.com",  "notes": "Remarks",  "discreetPackagingDescription": "Test product",  "category": {  "id": 123456789  },  "stock": {  "min": 1,  "max": 100,  "crossdocking": 1,  "location": "14A"  },  "stockAction": "",  "dimensions": {  "width": 1,  "height": 1,  "depth": 1,  "unitOfMeasure": 1  },  "taxation": {  "origin": 0,  "nFCI": "",  "ncm": "",  "cest": "",  "serviceListCode": "",  "spedItemType": "",  "itemCode": "",  "taxRate": 0,  "withholdingBaseAmount": 0,  "withholdingAmount": 0,  "substituteICMSAmount": 0,  "typeExemptionCode": "",  "IpiClassification": "",  "fixedIpiAmount": 0,  "IpiStampCode": "",  "FixedPisAmount": 0,  "FixedCofinsAmount": 0,  "ANPCode": "",  "ANPDescription": "",  "LPGPercentage": 0,  "DomesticGasPercentage": 0,  "percentageOfImportedGas": 0,  "initialValue": 0,  "armamentType": 0,  "fullArmamentDescription": "",  "additionalData": "",  "productGroup": {  "id": 123456789  }  },  "media": {  "video": {  "url": "https://www.youtube.com/watch?v=1"  },  "images": {  "imageURLs": [  {  "link": "https://shutterstock.com/lalala123"  }  ]  }  },  "productLine": {  "id": 1  },  "structure": {  "stockType": "F",  "stockRelease": "A",  "components": [  {  "product": {  "id": 1  }, Does anyone know how I can make this work to automatically insert an image into my code?

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Feature Request

Date

7 months ago

Author

Luis Augusto

Subscribe to post

Get notified by email when there are changes.