stripe/stripe-postman

Customer Shipping Address Update/Creation

Closed this issue · 1 comments

When using update a customer the shipping[address] is shown as {"line1":"","city":"","country":"","line2":"","postal_code":"","state":""} in the example.

This returns an error

{
"error": {
"message": "Invalid object",
"param": "shipping[address]",
"type": "invalid_request_error"
}
}

I could only get it to work by creating new keys:

shipping[address][line1]
shipping[address][line2]
shipping[address][city]
shipping[address][country]
shipping[address][postal_code]
shipping[address][state]

Am I missing something in the way it is shown in the example

Andy

Hey @hobkirkweb, thanks for reporting this issue. shipping[address] is a nested field and so the Postman collection should include child parameters like shipping[address][line1]. We're working on remediating this and should have an updated Postman Collection soon!