guibranco / VTEX-SDK-dotnet

:shopping_cart: :gear: VTEX platform .NET SDK

Home Page:https://guibranco.github.io/VTEX-SDK-dotnet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Venda sem Marketplace gera erro.

paulofoxbr opened this issue · comments

Quando temos uma situção onde isCertified = null, o pacote gera o erro abaixo.
Este exemplo foi retirado da documentação : https://developers.vtex.com/vtex-rest-api/reference/orders#getorder
"marketplace": {
"baseURL": "http://oms.vtexinternal.com.br/api/oms?an=luxstore",
"isCertified": null,
"name": "luxstore"

InnerException = {"Error converting value {null} to type 'System.Boolean'. Path 'marketplace.isCertified', line 1, position 72948."}