Skip to content

Conversation

@long-blade
Copy link

@long-blade long-blade commented Jan 11, 2023

Fulfillment endpoints removed from the REST Admin API

As of API version 2022-07, the following endpoints have been removed from the Fulfillment resource in the REST Admin API:

/orders/{order_id}/fulfillments.json
/orders/{order_id}/fulfillments/{fulfillment_id}.json
/orders/{order_id}/fulfillments/{fulfillment_id}/complete.json
/orders/{order_id}/fulfillments/{fulfillment_id}/open.json
/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json

Use the FulfillmentOrder resource instead.

Removes

FulfillmentService.php

  • - update()
  • - complete()
  • - open()

Additions

FulfillmentService.php

  • updateTracking() endpoint
    FulfillmentFields
  • tracking_info property
  • line_items_by_fulfillment_order property

Fixes

FulfillmentService.php

  • cancel order endpoint

@long-blade long-blade changed the title Fix fulfilment service endpoints (WIP) Fix fulfilment service endpoints Jan 11, 2023
@long-blade long-blade changed the title (WIP) Fix fulfilment service endpoints Fix fulfilment service endpoints Jan 17, 2023
@long-blade
Copy link
Author

@chewlim can you please review this MR? It is crucial for Shopify applications, by the end of this month the old way will not be able to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant