Closed hiscaler closed 3 years ago
Hello, thanks for your commit. In your commit you have added a receipt field definition for the Fulfillment model. Where did you get this definition? The API documentation has a completely different definition, maybe there is an error in the documentation, but how to check yours? How can I create Fulfillment with receipt field?
@maximzasorin I get from orders admin api. response data like follow:
{
"receipt": {
"gift_cards": [
{
"id": 111,
"line_item_id": 222,
"masked_code": "•••• •••• •••• 333"
}
]
}
}
@hiscaler
I think we should clarify with the support or somewhere else this discrepancy. Maybe the value of this field does not have a constant format and depends on something, for example, as in the case of the receipt field for Transaction: https://help.shopify.com/en/api/reference/orders/transaction#receipt-property-2019-10
@maximzasorin Maybe, but i not add it, parse will be throw error.
2.x version is coming to an end; can you send pr to 3.x branch?
Codecov Report
100% <100%> (ø)
122 <2> (+2)
Continue to review full report at Codecov.