Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1489

Updating fulfillments-> shipment_details->expected_shipped_at no longer works

$
0
0

I used to update the shipment date using something like:

curl https://connect.squareup.com/v2/orders/iWPTXqFbfX44bix7ces8z0sXgoEZY \
  -X PUT \
  -H 'Square-Version: 2024-01-18' \
  -H 'Authorization: Bearer XXXX' \
  -H 'Content-Type: application/json' \
  -d '{
    "order": {
      "location_id": "LHF8MXF0DYMNB",
      "fulfillments": [
        {
          "shipment_details": {
            "expected_shipped_at": "2024-02-06T18:30:00.000Z"
          },
          "uid": "aa9586ad-720b-4036-8b5c-c1a9600edaaa"
        }
      ],
      "version": 4
    }
  }'

The response returns the correct

"expected_shipped_at": "2024-02-06T18:30:00.000Z" 
 "version": 5, 

When I do a get order: curl https://connect.squareup.com/v2/orders/iWPTXqFbfX44bix7ces8z0sXgoEZY
I see version was updated to 5 but the shipment date was not updated

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1489

Trending Articles