Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Consider making the API consistent for fetch_stock and fetch_tracking_numbers #44

@kevinhughes27

Description

@kevinhughes27

Currently fetch_stock takes a hash in which it expects :sku for a specific sku or if nothing is sent we expect all the skus to be returned to us. Other options may be sent in this hash and they will be included in the request.

fetch_tracking_numbers / data however takes order_ids and then an options hash with other options that will be sent in the request. We should make these two methods take consistent args, either both only a hash or hash for extra args and a specific var for the main data.

Metadata

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