Skip to content

Polling when creating draft order #116

Open
@greatwitenorth

Description

When creating a draft order Shopify requires you to poll the url in the location header if a 202 is received:
https://shopify.dev/docs/admin-api/rest/reference/orders/draftorder#polling-2021-04

Is there a way to add support for this? I've already been bitten by this once when redirecting to the invoice url before the draft was ready to use.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions