Skip to main content

Associate (Deprecated) (0.1)

Download OpenAPI specification:Download

API responsible for handling internal operations that manage fulfillment orders routed to a store. Please note that this API is deprecated.

Store fulfillment configuration

Use this resource to configure store timer configuration.

Get pending timer duration for a tenant

Retrieves the pending timer duration for the retailer. This timer is the waiting time to respond to a fulfillment request. See the guide.

Responses

Response samples

Content type
application/json
0
0

Set pending timer duration configuration for a tenant.

Use this method to set a fulfillment timer for the retailer. This timer is the waiting time for an associate to respond to a fulfillment request before it is routed to another associate. See the guide.

Request Body schema: application/json
integer >= 1

Duration seconds

Responses

Request samples

Content type
application/json
1

Response samples

Content type
application/json
0
0

Check advance delivery booking

Checks if the delivery for the order should be booked in advance.

Responses

Response samples

Content type
application/json
true

Book delivery in advance

Specifies that the delivery should be booked in advance.

Request Body schema: application/json
boolean

True or False

Responses

Request samples

Content type
application/json
true

Response samples

Content type
application/json
true

Get packing timer duration

Retrives the packing timer duration configured for the retailer. This timer is the waiting time displayed to an associate during the packing stage of fulfillment.

Responses

Response samples

Content type
application/json
0
0

Set packing timer duration

Specifies the packing timer duration configured for the retailer. This timer is the waiting time displayed to an associate during the packing stage of fulfillment.

Request Body schema: application/json
integer >= 1

Duration seconds

Responses

Request samples

Content type
application/json
1

Response samples

Content type
application/json
0
0

Get picking timer for an item

Retrieves the duration of the timer configured for the retailer. The timer is displayed to the associate in NewStore Fulfillment App, during the picking stage of order fulfillment for each item.

Responses

Response samples

Content type
application/json
0
0

Set picking timer for an item

Specifies the duration of the timer configured for the retailer. The timer is displayed to the associate in NewStore Fulfillment App, during the picking stage of order fulfillment for each item.

Request Body schema: application/json
integer >= 1

Duration seconds

Responses

Request samples

Content type
application/json
1

Response samples

Content type
application/json
0
0

Store fulfillment requests

Use this resource to manage orders that are currently in the process of being fulfilled by a store or are in transit from or to a store.

Reassign orders to new associate

Reassign the list of open fulfillment logistic orders to another associate.

Request Body schema: application/json
current_associate_id
required
string
new_associate_id
required
string

Responses

Request samples

Content type
application/json
{
  • "current_associate_id": "22IB3UROr1S3Je9hDaRh7f",
  • "new_associate_id": "33JB3UROr1S3Je9hDaRh7f"
}

Response samples

Content type
application/json
{
  • "error": {
    }
}

Accept store fulfillment request

Use this method to accept a fulfillment request.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
itn
string

The box's itn, needed for easypost, if order>$2500

Responses

Request samples

Content type
application/json
{
  • "itn": "string"
}

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Decline store fulfillment request

Use this method to decline a fulfillment request.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Responses

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Mispick store fulfillment request

Use this method to mispick a fulfillment request.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
Array of objects

A list of objects, containing mispicked item product_id and mispicked_quantity

Array
mispicked_quantity
required
integer

Number of mispicked products.

product_id
required
string

The identifier for the product.

Responses

Request samples

Content type
application/json
{
  • "mispicked_items": [
    ]
}

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Mispack store fulfillment request

Use this method to mispack a fulfillment request.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
Array of objects

A list of objects, containing mispacked item product_id and mispacked_quantity

Array
mispacked_quantity
required
integer

Number of mispacked products.

product_id
required
string

The identifier for the product.

Responses

Request samples

Content type
application/json
{
  • "mispacked_items": [
    ]
}

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Start packing store fulfillment request

Use this method to start packing a fulfillment request.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
Array of objects
itn
string

The box's itn, needed for easypost, if order>$2500

Responses

Request samples

Content type
application/json
{
  • "scanned_order_items": [
    ],
  • "itn": "string"
}

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Finish packing store fulfillment request

Use this method to finish packing a fulfillment request.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
Array of objects

A list of boxes for the packing step. Each box can contain multiple items.

itn
string

The box's itn, needed for easypost, if order>$2500

Responses

Request samples

Content type
application/json
{
  • "boxes": [
    ],
  • "itn": "string"
}

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Finish packing store fulfillment request

Use this method to mark a fulfillment request as ready for pickup

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Responses

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Finish packing store fulfillment request

Use this method to confirm handover on a fulfillment request

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Responses

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

DEPRECATED, OLD FLOW ONLY. Cancel item for the given fulfillment request id Deprecated

Removes the specified item from the order and rejects the item that are part of the store fulfillment request.

To cancel items that are part of orders fulfilled by a DC, use this API instead.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

sales_order_item_uuid
required
string

The identifier of the order item in NewStore.

Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Update shipping status

Marks some or all items in a fulfillment request assigned to a store as shipped.

When an order cannot be fulfilled in a store because of external reasons such as the failure of a shipment provider API, the retailer usually ships the items manually. However, this data is not processed in NewStore, which leads to order data that is not in sync for the retailer.

Use this endpoint to manually mark such shipments that have been done outside of NewStore as shipped, and keep the order and routing data in sync with the real world.

Important: Using this method overrides system workflow rules and the actual status of the shipment, and marks the specified items as shipped.

To update the shipping status of orders that are fulfilled by a DC, use this method instead.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
tracking_code
required
string <str>

The tracking code sent by your shipment provider.

provider
required
string

The name of your shipping provider. The shipping provider you specify here must be configured for your business. For more information on how to configure shipping providers, see the docs.

Responses

Request samples

Content type
application/json
{
  • "tracking_code": "9999999999",
  • "provider": "FedEx"
}

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Cancel store fulfillment request

Use this method to cancel a fulfillment request that has been routed to a store for fulfillment.

This method does not consider the current status of the items that are part of the fulfillment request, or how far they have progressed in the order fulfillment process.

Use this method to cancel items in an order that:

  • Are not possible to fulfill because of a fulfillment error.
  • The customer decided to cancel after placing their order.
path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "error_data": {
    }
}

Store Fulfillment shipment

Book (or retry) shipment for this fulfillment

Use this method to book or retry shipment for a fulfillment request that was routed to a store.

This method does not consider the current status of the items that are part of the fulfillment request, or how far they have progressed in the order fulfillment process.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "status": "accepted"
}

Retrieves shipment status for this shipment

Use this method to book or retry shipment for a fulfillment request that was routed to a store.

This method does not consider the current status of the items that are part of the fulfillment request, or how far they have progressed in the order fulfillment process.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Responses

Response samples

Content type
application/json
{
  • "status": "accepted",
  • "label_url": "string"
}

Retrieves documents for this shipment

Use this method to retrieve printable documents for a fulfillment request that was routed to a store.

path Parameters
fulfillment_request_id
required
string <uuid>
Example: 631dfeb6-4743-44b3-87ce-fda62b596760

The identifier of the fulfillment request id.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get store configuration

Get relation between stores and package_options

Use this method to get relation between stores and package_options for a tenant.

Responses

Response samples

Content type
application/json
{
  • "stores": [
    ]
}

Update store configuration

Set relation between stores and package_options

Use this method to set relation between stores and package_options for a tenant.

Request Body schema: application/json
Array of objects
Array
store_id
string

ID of the store

package_options
Array of strings

Package option IDs of the store

default_package
string

ID of the default package option

Responses

Request samples

Content type
application/json
{
  • "stores": [
    ]
}

Response samples

Content type
application/json
{
  • "stores": [
    ]
}

Get packages configuration

Get package options

Use this method to get package options for a tenant.

Responses

Response samples

Content type
application/json
{
  • "packages": [
    ]
}

Update packages configuration

Set package options

Use this method to set package options for a tenant.

Request Body schema: application/json
Array of objects
Array
uuid
string

uuid of the package

name
string

name of the package

weight
number

weight of the package

weight_unit
string

weight_unit of the package

length
number

length of the package

width
number

width of the package

height
number

height of the package

length_unit
string

length_unit of the package

Responses

Request samples

Content type
application/json
{
  • "packages": [
    ]
}

Response samples

Content type
application/json
{
  • "packages": [
    ]
}